diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-07 09:06:52 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-07 09:06:52 +0100 |
commit | 3efacd7aea48c93e0a42c1e83bf3c96e9e50f178 (patch) | |
tree | c526ec0e62cddafca1f85cc7d73d79bff10be395 /git/compat.py | |
parent | d437078d8f95cb98f905162b2b06d04545806c59 (diff) | |
download | gitpython-3efacd7aea48c93e0a42c1e83bf3c96e9e50f178.tar.gz |
This should fix flake8 on py3
See #177
Diffstat (limited to 'git/compat.py')
-rw-r--r-- | git/compat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/compat.py b/git/compat.py index 5c330e5b..1ea2119e 100644 --- a/git/compat.py +++ b/git/compat.py @@ -33,6 +33,7 @@ if PY3: return bytes([n]) def mviter(d): return d.values() + unicode = str else: FileType = file # usually, this is just ascii, which might not enough for our encoding needs @@ -41,6 +42,7 @@ else: defenc = 'utf-8' byte_ord = ord bchr = chr + unicode = unicode def mviter(d): return d.itervalues() |