changeset 48916:bac59722c5a3

largefiles: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12321
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 01 Mar 2022 20:46:06 -0800
parents 78911231ed33
children 1672c5af1271
files hgext/largefiles/remotestore.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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):