[CalendarServer-changes] [1789] CalendarServer/trunk/twistedcaldav/admin/logs.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 14 18:45:17 PDT 2007


Revision: 1789
          http://trac.macosforge.org/projects/calendarserver/changeset/1789
Author:   cdaboo at apple.com
Date:     2007-08-14 18:45:17 -0700 (Tue, 14 Aug 2007)

Log Message:
-----------
Make sure to convert days command line option  to an int.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/admin/logs.py

Modified: CalendarServer/trunk/twistedcaldav/admin/logs.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/admin/logs.py	2007-08-14 21:54:54 UTC (rev 1788)
+++ CalendarServer/trunk/twistedcaldav/admin/logs.py	2007-08-15 01:45:17 UTC (rev 1789)
@@ -252,7 +252,7 @@
         self.readOnly = self.config['readonly']
 
         self.logfile = self.config['logfile']
-        self.stats = Stats(self.config['statsfile'], self.config['append'], self.config['days'])
+        self.stats = Stats(self.config['statsfile'], self.config['append'], int(self.config['days']))
 
     def run(self):
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070814/f6466967/attachment.html


More information about the calendarserver-changes mailing list