Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 49019:ceafb0f81250
revlog: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12333
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 11:12:26 -0700 |
parents | f254fc73d956 |
children | 642e31cb55f0 |
line wrap: on
line diff
--- 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: