File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Original file line number Diff line number Diff line change 12
12
import sys
13
13
14
14
15
- from gitdb .utils .compat import (
16
- izip , # @UnusedImport
17
- )
18
15
from gitdb .utils .encoding import (
19
16
string_types , # @UnusedImport
20
17
text_type , # @UnusedImport
Original file line number Diff line number Diff line change 11
11
import tempfile
12
12
13
13
from git .compat import (
14
- izip ,
15
14
string_types ,
16
15
force_bytes ,
17
16
defenc ,
@@ -270,8 +269,8 @@ def new(cls, repo, *tree_sha):
270
269
271
270
inst = cls (repo )
272
271
# 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 )))
272
+ entries = dict (zip (((e .path , e .stage ) for e in base_entries ),
273
+ (IndexEntry .from_base (e ) for e in base_entries )))
275
274
276
275
inst .entries = entries
277
276
return inst
You can’t perform that action at this time.
0 commit comments