[Python-checkins] r73288 - python/branches/py3k/Lib/logging/handlers.py

georg.brandl python-checkins at python.org
Mon Jun 8 10:53:40 CEST 2009


Author: georg.brandl
Date: Mon Jun  8 10:53:39 2009
New Revision: 73288

Log:
Use a real bool for a flag option.


Modified:
   python/branches/py3k/Lib/logging/handlers.py

Modified: python/branches/py3k/Lib/logging/handlers.py
==============================================================================
--- python/branches/py3k/Lib/logging/handlers.py	(original)
+++ python/branches/py3k/Lib/logging/handlers.py	Mon Jun  8 10:53:39 2009
@@ -155,7 +155,7 @@
     If backupCount is > 0, when rollover is done, no more than backupCount
     files are kept - the oldest ones are deleted.
     """
-    def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=0, utc=0):
+    def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=0, utc=False):
         BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay)
         self.when = when.upper()
         self.backupCount = backupCount


More information about the Python-checkins mailing list