Mercurial > hg
diff mercurial/commands.py @ 48919:8b3f3f10e808
commands: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12324
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 11:08:04 -0700 |
parents | f254fc73d956 |
children | 5ad37b5bfb31 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Feb 21 11:07:29 2022 -0700 +++ b/mercurial/commands.py Mon Feb 21 11:08:04 2022 -0700 @@ -3910,9 +3910,7 @@ hexremoterev = hex(remoterev) bms = [ bm - for bm, bmr in pycompat.iteritems( - peer.listkeys(b'bookmarks') - ) + for bm, bmr in peer.listkeys(b'bookmarks').items() if bmr == hexremoterev ]