Mercurial > public > mercurial-scm > hg-stable
diff hgext/lfs/pointer.py @ 49008:1672c5af1271
lfs: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12322
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 11:06:46 -0700 |
parents | f254fc73d956 |
children | f4733654f144 |
line wrap: on
line diff
--- a/hgext/lfs/pointer.py Tue Mar 01 20:46:06 2022 -0800 +++ b/hgext/lfs/pointer.py Mon Feb 21 11:06:46 2022 -0700 @@ -40,7 +40,7 @@ def serialize(self): sortkeyfunc = lambda x: (x[0] != b'version', x) - items = sorted(pycompat.iteritems(self.validate()), key=sortkeyfunc) + items = sorted(self.validate().items(), key=sortkeyfunc) return b''.join(b'%s %s\n' % (k, v) for k, v in items) def oid(self):