largefiles: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12321
--- 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):