# HG changeset patch # User Daniele Nicolodi # Date 1324058962 -3600 # Node ID d98319d533b25d89c1ef4c15927b4306e9f88657 # Parent 32c4e938787eedea03c562107df00a50b2be3090 Whitespace. diff -r 32c4e938787e -r d98319d533b2 src/ltpdarepo/views/browse.py --- 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)