# HG changeset patch # User Daniele Nicolodi # Date 1320401501 -3600 # Node ID 8bd23369e429a9fb3eea4e2ae99b95ff40ca2265 # Parent cfbf702d119b730635d01f83467b432f4f561f70 Remove trailing white space. diff -r cfbf702d119b -r 8bd23369e429 src/ltpdarepo/views/browse.py --- a/src/ltpdarepo/views/browse.py Fri Nov 04 11:11:32 2011 +0100 +++ b/src/ltpdarepo/views/browse.py Fri Nov 04 11:11:41 2011 +0100 @@ -616,8 +616,8 @@ GROUP BY ts.begin, ts.end""" % database) activity = curs.fetchall() - - from math import ceil, floor, log10 + + from math import ceil, floor, log10 nmax = max(num for day, num in activity) or 1 base = 10**floor(log10(nmax)) if base < 10: base = 10.0