Skip to content

Commit

Permalink
packager: use id instead of hex attrib since hex is removed in pygit …
Browse files Browse the repository at this point in the history
…1.16
  • Loading branch information
m4rc1e committed Nov 6, 2024
1 parent b39fb25 commit f42023b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/gftools/packager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def traverse(
tree = repo.get(tree_oid)
try:
entry = tree[subtree_name]
existing_subtree = repo.get(entry.hex)
existing_subtree = repo.get(entry.id)
sub_treebuilder = repo.TreeBuilder(existing_subtree)
except KeyError:
sub_treebuilder = repo.TreeBuilder()
Expand Down

0 comments on commit f42023b

Please sign in to comment.