changeset 43105 | 649d3ac37a12 |
parent 43077 | 687b865b95ad |
child 43303 | 26caf96a5fa9 |
--- a/hgext/lfs/__init__.py Sun Oct 06 17:59:15 2019 -0400 +++ b/hgext/lfs/__init__.py Sun Oct 06 19:25:18 2019 -0400 @@ -381,7 +381,7 @@ def pointer(v): # In the file spec, version is first and the other keys are sorted. sortkeyfunc = lambda x: (x[0] != b'version', x) - items = sorted(pointers[v].iteritems(), key=sortkeyfunc) + items = sorted(pycompat.iteritems(pointers[v]), key=sortkeyfunc) return util.sortdict(items) makemap = lambda v: {