diff -r 8e7796a990c5 -r d0576d065993 contrib/churn.py --- a/contrib/churn.py Mon Jan 21 13:37:27 2008 -0200 +++ b/contrib/churn.py Sun Jan 20 14:39:25 2008 +0100 @@ -114,11 +114,11 @@ who, lines = __gather(ui, repo, node1, node2) # remap the owner if possible - if amap.has_key(who): + if who in amap: ui.note("using '%s' alias for '%s'\n" % (amap[who], who)) who = amap[who] - if not stats.has_key(who): + if not who in stats: stats[who] = 0 stats[who] += lines