We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10ceef commit 5d22d57Copy full SHA for 5d22d57
git/compat.py
@@ -12,9 +12,6 @@
12
import sys
13
14
15
-from gitdb.utils.compat import (
16
- izip, # @UnusedImport
17
-)
18
from gitdb.utils.encoding import (
19
string_types, # @UnusedImport
20
text_type, # @UnusedImport
git/index/base.py
@@ -11,7 +11,6 @@
11
import tempfile
from git.compat import (
- izip,
string_types,
force_bytes,
defenc,
@@ -270,8 +269,8 @@ def new(cls, repo, *tree_sha):
270
269
271
inst = cls(repo)
272
# convert to entries dict
273
- entries = dict(izip(((e.path, e.stage) for e in base_entries),
274
- (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)))
275
276
inst.entries = entries
277
return inst
0 commit comments