revlog: remove pycompat.iteritems()
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 11:12:26 -0700
changeset 48928 ceafb0f81250
parent 48927 c17aee610bab
child 48929 278030cc9353
revlog: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12333
mercurial/revlog.py
--- a/mercurial/revlog.py	Mon Feb 21 11:11:59 2022 -0700
+++ b/mercurial/revlog.py	Mon Feb 21 11:12:26 2022 -0700
@@ -437,9 +437,7 @@
             self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor
 
         # revlog v0 doesn't have flag processors
-        for flag, processor in pycompat.iteritems(
-            opts.get(b'flagprocessors', {})
-        ):
+        for flag, processor in opts.get(b'flagprocessors', {}).items():
             flagutil.insertflagprocessor(flag, processor, self._flagprocessors)
 
         if self._chunkcachesize <= 0: