hgext/churn.py
changeset 10282 08a0f04b56bd
parent 10263 25e572394f5c
child 10647 4ba41eebb3a8
--- a/hgext/churn.py	Mon Jan 25 00:05:22 2010 -0600
+++ b/hgext/churn.py	Mon Jan 25 00:05:27 2010 -0600
@@ -169,7 +169,7 @@
                                     '*' * charnum(sum(count)))
 
     def charnum(count):
-        return int(round(count*width/maxcount))
+        return int(round(count * width / maxcount))
 
     for name, count in rate:
         ui.write(format(name, count))
@@ -180,7 +180,8 @@
         (churn,
          [('r', 'rev', [], _('count rate for the specified revision or range')),
           ('d', 'date', '', _('count rate for revisions matching date spec')),
-          ('t', 'template', '{author|email}', _('template to group changesets')),
+          ('t', 'template', '{author|email}',
+           _('template to group changesets')),
           ('f', 'dateformat', '',
               _('strftime-compatible format for grouping by date')),
           ('c', 'changesets', False, _('count rate by number of changesets')),