Mercurial > hg
changeset 48928: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 | c17aee610bab |
children | 278030cc9353 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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: