Patchwork [3,of,4,evolve-ext] py3: use items() instead of iteritems()

login
register
mail settings
Submitter timeless
Date April 20, 2016, 7:19 p.m.
Message ID <5f3fbe0fb1f34de87e62.1461179961@gcc2-power8.osuosl.org>
Download mbox | patch
Permalink /patch/14744/
State Accepted
Delegated to: Pierre-Yves David
Headers show

Comments

timeless - April 20, 2016, 7:19 p.m.
# HG changeset patch
# User timeless@gmail.com
# Date 1461178813 0
#      Wed Apr 20 19:00:13 2016 +0000
# Node ID 5f3fbe0fb1f34de87e62e76de7e48e49993b60d5
# Parent  e7a1b64ce1e6655544579abd8f48a4396bb43fc8
# Available At https://bitbucket.org/timeless/mutable-history/
#              hg pull https://bitbucket.org/timeless/mutable-history/ -r 5f3fbe0fb1f3
py3: use items() instead of iteritems()

Patch

diff -r e7a1b64ce1e6 -r 5f3fbe0fb1f3 hgext/evolve.py
--- a/hgext/evolve.py	Wed Apr 20 18:59:46 2016 +0000
+++ b/hgext/evolve.py	Wed Apr 20 19:00:13 2016 +0000
@@ -1091,7 +1091,7 @@ 
     except error.UnknownCommand:
         # Commands may be disabled
         return
-    for alias, e in cmdtable.iteritems():
+    for alias, e in cmdtable.items():
         if e is entry:
             break