Mercurial > hg > ltpdarepo
changeset 159:8bd23369e429
Remove trailing white space.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Fri, 04 Nov 2011 11:11:41 +0100 |
parents | cfbf702d119b |
children | d1f0cfc4da0f |
files | src/ltpdarepo/views/browse.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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