diff -r 8e7796a990c5 -r d0576d065993 mercurial/cmdutil.py --- 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: