Mercurial > hg
diff hgext/churn.py @ 11501:deb5d02ae91c
churn: remove tuple parameter unpacking (deprecated in py3k)
author | Renato Cunha <renatoc@gmail.com> |
---|---|
date | Thu, 01 Jul 2010 19:27:03 -0300 |
parents | 40c06bbf58be |
children | fddacca3202e |
line wrap: on
line diff
--- 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),