Skip to content

Commit

Permalink
python update: Make deps indexable
Browse files Browse the repository at this point in the history
python311 doesn't support array keys and indexing, quick fix by
converting to a list.

Fixes aspiers#7
  • Loading branch information
Werkov committed Jul 4, 2024
1 parent 38518d1 commit 48b2cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_explode/exploder.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def prepare_cherrypick_base(self, sha, deps, commits):
self.checkout_new(branch, self.base)
return

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

Expand Down

0 comments on commit 48b2cb7

Please sign in to comment.