changeset 242:d98319d533b2 stable

Whitespace.
author Daniele Nicolodi <daniele@grinta.net>
date Fri, 16 Dec 2011 19:09:22 +0100
parents 32c4e938787e
children 826a29703975
files src/ltpdarepo/views/browse.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ltpdarepo/views/browse.py	Fri Dec 16 19:09:12 2011 +0100
+++ b/src/ltpdarepo/views/browse.py	Fri Dec 16 19:09:22 2011 +0100
@@ -659,7 +659,6 @@
                 span = 'MONTH'
                 today = datetime.strptime(when, '%Y-%m').date()
 
-
         if span == 'MONTH':
             begin = today + relativedelta(day=1)
             end = begin + relativedelta(months=1, days=-1)
@@ -695,7 +694,7 @@
         nmax = max(num for day, num in activity) or 1
         base = 10**floor(log10(nmax))
         if base < 10: base = 10.0
-        nmax = ceil(nmax / base)*base
+        nmax = ceil(nmax / base) * base
 
         return render_template('activity.html', database=db, activity=activity, nmax=nmax,
                                curr=today, prev=prev, next=next, span=span, dt=dt)