diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2004-02-21 22:12:32 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2004-02-21 22:12:32 (GMT) |
commit | 3f9f84def4c359204768f3934ec73f6c44434f9d (patch) | |
tree | 782096965867fc9068fdb6d23e12fda935a03c1e /Lib/logging/__init__.py | |
parent | 8036c836305f9770d6b242ccd504b543476058ff (diff) | |
download | cpython-3f9f84def4c359204768f3934ec73f6c44434f9d.zip cpython-3f9f84def4c359204768f3934ec73f6c44434f9d.tar.gz cpython-3f9f84def4c359204768f3934ec73f6c44434f9d.tar.bz2 |
Handler close() functions call flush() [SF #901330]
Diffstat (limited to 'Lib/logging/__init__.py')
-rw-r--r-- | Lib/logging/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index aa64190..5636c70 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2001-2002 by Vinay Sajip. All Rights Reserved. +# Copyright 2001-2004 by Vinay Sajip. All Rights Reserved. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose and without fee is hereby granted, @@ -36,8 +36,8 @@ except ImportError: __author__ = "Vinay Sajip <vinay_sajip@red-dove.com>" __status__ = "beta" -__version__ = "0.4.9" -__date__ = "20 February 2004" +__version__ = "0.4.9.1" +__date__ = "21 February 2004" #--------------------------------------------------------------------------- # Miscellaneous module data @@ -712,6 +712,7 @@ class FileHandler(StreamHandler): """ Closes the stream. """ + self.flush() self.stream.close() StreamHandler.close(self) |