diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-07 06:13:35 -0600 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-02-08 10:55:50 +0800 |
commit | 5d22d57010e064cfb9e0b6160e7bd3bb31dbfffc (patch) | |
tree | 644aa332f73c241ea51d1178d66c8284e3c3e26e /git/index | |
parent | a10ceef3599b6efc0e785cfce17f9dd3275d174f (diff) | |
download | gitpython-5d22d57010e064cfb9e0b6160e7bd3bb31dbfffc.tar.gz |
Remove and replace compat.izip
Diffstat (limited to 'git/index')
-rw-r--r-- | git/index/base.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/git/index/base.py b/git/index/base.py index c8ca462f..98c3b0f1 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -11,7 +11,6 @@ import subprocess import tempfile from git.compat import ( - izip, string_types, force_bytes, defenc, @@ -270,8 +269,8 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): inst = cls(repo) # convert to entries dict - entries = dict(izip(((e.path, e.stage) for e in base_entries), - (IndexEntry.from_base(e) for e in base_entries))) + entries = dict(zip(((e.path, e.stage) for e in base_entries), + (IndexEntry.from_base(e) for e in base_entries))) inst.entries = entries return inst |