# HG changeset patch # User Renato Cunha # Date 1278023223 10800 # Node ID deb5d02ae91c084845a687cea01f277be1e3f9aa # Parent b782a7eb90373fdbd68cd84b2afe61d16823cead churn: remove tuple parameter unpacking (deprecated in py3k) diff -r b782a7eb9037 -r deb5d02ae91c hgext/churn.py --- a/hgext/churn.py Thu Jul 01 19:27:03 2010 -0300 +++ b/hgext/churn.py Thu Jul 01 19:27:03 2010 -0300 @@ -149,7 +149,8 @@ if opts.get('diffstat'): width -= 15 - def format(name, (added, removed)): + def format(name, diffstat): + added, removed = diffstat return "%s %15s %s%s\n" % (pad(name, maxname), '+%d/-%d' % (added, removed), ui.label('+' * charnum(added),