hgext/remotefilelog/shallowutil.py
changeset 48913 f254fc73d956
parent 48875 6000f5b25c9b
child 48918 0fe003495f72
--- a/hgext/remotefilelog/shallowutil.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/hgext/remotefilelog/shallowutil.py	Thu Mar 03 18:28:30 2022 -0800
@@ -102,7 +102,7 @@
     """
     result = collections.defaultdict(lambda: 0)
     for dict in dicts:
-        for k, v in pycompat.iteritems(dict):
+        for k, v in dict.items():
             result[k] += v
     return result
 
@@ -110,7 +110,7 @@
 def prefixkeys(dict, prefix):
     """Returns ``dict`` with ``prefix`` prepended to all its keys."""
     result = {}
-    for k, v in pycompat.iteritems(dict):
+    for k, v in dict.items():
         result[prefix + k] = v
     return result
 
@@ -208,7 +208,7 @@
     integers.
     """
     metadict = _parsepackmeta(metabuf)
-    for k, v in pycompat.iteritems(metadict):
+    for k, v in metadict.items():
         if k in _metaitemtypes and int in _metaitemtypes[k]:
             metadict[k] = bin2int(v)
     return metadict