##// END OF EJS Templates
cmdutil: use sorted(dict) instead of x = dict.keys(); x.sort()...
Augie Fackler -
r32528:9f56d462 default
parent child Browse files
Show More
@@ -449,8 +449,7 b' def findcmd(cmd, table, strict=True):'
449 return choice[cmd]
449 return choice[cmd]
450
450
451 if len(choice) > 1:
451 if len(choice) > 1:
452 clist = choice.keys()
452 clist = sorted(choice)
453 clist.sort()
454 raise error.AmbiguousCommand(cmd, clist)
453 raise error.AmbiguousCommand(cmd, clist)
455
454
456 if choice:
455 if choice:
General Comments 0
You need to be logged in to leave comments. Login now