diff options
Diffstat (limited to 'fastimport/parser.py')
-rw-r--r-- | fastimport/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastimport/parser.py b/fastimport/parser.py index 0a88d84..ceee1b4 100644 --- a/fastimport/parser.py +++ b/fastimport/parser.py @@ -649,7 +649,7 @@ def _unquote_c_string(s): codecs.decode(match.group(0), 'unicode-escape') ) - if sys.version_info[0] >= 3 and isinstance(s, bytes): + if isinstance(s, bytes): return ESCAPE_SEQUENCE_BYTES_RE.sub(decode_match, s) else: return ESCAPE_SEQUENCE_RE.sub(decode_match, s) |