# HG changeset patch # User Tero Marttila # Date 1330427482 -7200 # Node ID 278cdecf019101f0ad1da6509e256647eb1480a9 # Parent 95b0a3fdd207ef0501846e4cc6d8078d8d69e3f5# Parent bc2910029fa850057d860f7041b83733335e6490 merge tag? diff -r bc2910029fa8 -r 278cdecf0191 bin/qmsk-irclogs.fcgi --- a/bin/qmsk-irclogs.fcgi Sun Sep 13 20:11:06 2009 +0300 +++ b/bin/qmsk-irclogs.fcgi Tue Feb 28 13:11:22 2012 +0200 @@ -1,4 +1,4 @@ -#!/usr/bin/python2.5 +#!/usr/bin/python # :set filetype=py """ diff -r bc2910029fa8 -r 278cdecf0191 qmsk/irclogs/log_source.py --- a/qmsk/irclogs/log_source.py Sun Sep 13 20:11:06 2009 +0300 +++ b/qmsk/irclogs/log_source.py Tue Feb 28 13:11:22 2012 +0200 @@ -161,7 +161,7 @@ lines.append(line) # calculate max_pages - max_pages = math.ceil(float(line_count) / count) + max_pages = int(math.ceil(float(line_count) / count)) # return return (page, max_pages, lines)