We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69f8688 commit 47f39d5Copy full SHA for 47f39d5
1 file changed
tuf/repository_lib.py
@@ -1662,7 +1662,7 @@ def build_merkle_tree(fileinfodict):
1662
# leaf contains snapshot information for a single metadata file.
1663
leaves = []
1664
nodes = []
1665
- for name, contents in fileinfodict.items():
+ for name, contents in sorted(fileinfodict.items()):
1666
if name.endswith(".json"):
1667
name = os.path.splitext(name)[0]
1668
leaves.append(Leaf(name, contents))
0 commit comments