largefiles: remove pycompat.iteritems()
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 01 Mar 2022 20:46:06 -0800
changeset 48916 bac59722c5a3
parent 48915 78911231ed33
child 48917 1672c5af1271
largefiles: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12321
hgext/largefiles/remotestore.py
--- a/hgext/largefiles/remotestore.py	Mon Feb 21 11:05:42 2022 -0700
+++ b/hgext/largefiles/remotestore.py	Tue Mar 01 20:46:06 2022 -0800
@@ -10,7 +10,6 @@
 
 from mercurial import (
     error,
-    pycompat,
     util,
 )
 
@@ -52,9 +51,8 @@
     def exists(self, hashes):
         return {
             h: s == 0
-            for (h, s) in pycompat.iteritems(
-                self._stat(hashes)
-            )  # dict-from-generator
+            for (h, s) in self._stat(hashes).items()
+            # dict-from-generator
         }
 
     def sendfile(self, filename, hash):