changeset 25660 | 328739ea70c3 |
parent 24871 | 117b9a101f71 |
child 25881 | 9de443515f1d |
--- a/mercurial/help.py Tue Jun 23 22:38:21 2015 -0700 +++ b/mercurial/help.py Tue Jun 23 22:20:08 2015 -0700 @@ -228,7 +228,7 @@ try: aliases, entry = cmdutil.findcmd(name, commands.table, strict=unknowncmd) - except error.AmbiguousCommand, inst: + except error.AmbiguousCommand as inst: # py3k fix: except vars can't be used outside the scope of the # except block, nor can be used inside a lambda. python issue4617 prefix = inst.args[0]