mercurial/cmdutil.py
changeset 32880 e4a43b810528
parent 32860 97a4d09f5140
child 32891 2ecce24dfcd3
--- a/mercurial/cmdutil.py	Fri Jun 16 01:24:31 2017 +0530
+++ b/mercurial/cmdutil.py	Fri Jun 16 01:28:23 2017 +0530
@@ -452,7 +452,7 @@
         raise error.AmbiguousCommand(cmd, clist)
 
     if choice:
-        return choice.values()[0]
+        return list(choice.values())[0]
 
     raise error.UnknownCommand(cmd, allcmds)