| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a10ceef commit 5d22d57
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,9 +12,6 @@ | |||
| 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,7 +11,6 @@ | |||
| 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 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments