We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0a95ec commit e0f8592Copy full SHA for e0f8592
1 file changed
Lib/logging/__init__.py
@@ -41,8 +41,8 @@
41
42
__author__ = "Vinay Sajip <vinay_sajip@red-dove.com>"
43
__status__ = "beta"
44
-__version__ = "0.4.9.7"
45
-__date__ = "07 October 2005"
+__version__ = "0.4.9.9"
+__date__ = "06 February 2006"
46
47
#---------------------------------------------------------------------------
48
# Miscellaneous module data
@@ -671,8 +671,7 @@ def close(self):
671
#get the module data lock, as we're updating a shared structure.
672
_acquireLock()
673
try: #unlikely to raise an exception, but you never know...
674
- if _handlers.has_key(self):
675
- del _handlers[self]
+ del _handlers[self]
676
_handlerList.remove(self)
677
finally:
678
_releaseLock()
0 commit comments