changeset 5915 | d0576d065993 |
parent 5843 | 83c354c4d529 |
child 5976 | 9f1e6ab76069 |
--- a/mercurial/cmdutil.py Mon Jan 21 13:37:27 2008 -0200 +++ b/mercurial/cmdutil.py Sun Jan 20 14:39:25 2008 +0100 @@ -50,7 +50,7 @@ """Return (aliases, command table entry) for command string.""" choice = findpossible(ui, cmd, table) - if choice.has_key(cmd): + if cmd in choice: return choice[cmd] if len(choice) > 1: