Mercurial > hg
changeset 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 | b782a7eb9037 |
children | e5dd08f3fa03 |
files | hgext/churn.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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),