Skip to content

Commit 48b2cb7

Browse files
committed
python update: Make deps indexable
python311 doesn't support array keys and indexing, quick fix by converting to a list. Fixes #7
1 parent 38518d1 commit 48b2cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_explode/exploder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def prepare_cherrypick_base(self, sha, deps, commits):
124124
self.checkout_new(branch, self.base)
125125
return
126126

127-
deps = deps.keys()
127+
deps = list(deps.keys())
128128
assert len(deps) >= 1
129129
self.logger.debug(" deps: %s" % ' '.join([d[:8] for d in deps]))
130130

0 commit comments

Comments
 (0)