]> granicus.if.org Git - python/commit
Bug #3126: StreamHandler and FileHandler check before calling "flush" and "close...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 17 Jun 2008 11:02:14 +0000 (11:02 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 17 Jun 2008 11:02:14 +0000 (11:02 +0000)
commit8f96b8ec4303d5c54b9a20c963292dd98bf3a714
tree4935ee6e92a62dc54645da245e1e5f44d4aeda2e
parent5c15aba870511705e7a453729f3d0468617c5c4a
Bug #3126: StreamHandler and FileHandler check before calling "flush" and "close" that the stream object has these, using hasattr (thanks to bobf for the patch).
Lib/logging/__init__.py