D2320: py3: explicitly convert result of dict.items() into list
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Feb 18 09:17:31 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3e1139b7d617: py3: explicitly convert result of dict.items() into list (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2320?vs=5849&id=5865
REVISION DETAIL
https://phab.mercurial-scm.org/D2320
AFFECTED FILES
hgext/mq.py
CHANGE DETAILS
diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -3196,7 +3196,7 @@
guards[g] += 1
if ui.verbose:
guards['NONE'] = noguards
- guards = guards.items()
+ guards = list(guards.items())
guards.sort(key=lambda x: x[0][1:])
if guards:
ui.note(_('guards in series file:\n'))
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list