Mercurial > hg
changeset 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 | 0fe003495f72 |
children | b4ab4fd23199 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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 ]