diff options
author | Georg Brandl <georg@python.org> | 2009-06-08 08:53:39 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-06-08 08:53:39 (GMT) |
commit | 96f05e52a786331b73f75b33d1766c24b848f725 (patch) | |
tree | 6490eed4db3d6b103b270462398730249c08f62b | |
parent | 0eaab97ad03a92b01bdd4dd6d5aaddf80986557f (diff) | |
download | cpython-96f05e52a786331b73f75b33d1766c24b848f725.zip cpython-96f05e52a786331b73f75b33d1766c24b848f725.tar.gz cpython-96f05e52a786331b73f75b33d1766c24b848f725.tar.bz2 |
Use a real bool for a flag option.
-rw-r--r-- | Lib/logging/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index d9acb87..296237b 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -155,7 +155,7 @@ class TimedRotatingFileHandler(BaseRotatingHandler): 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 |