[Python-checkins] r67748 - python/trunk/Lib/logging/__init__.py
benjamin.peterson
python-checkins at python.org
Sun Dec 14 02:46:12 CET 2008
Author: benjamin.peterson
Date: Sun Dec 14 02:46:11 2008
New Revision: 67748
Log:
remove has_key usage
Modified:
python/trunk/Lib/logging/__init__.py
Modified: python/trunk/Lib/logging/__init__.py
==============================================================================
--- python/trunk/Lib/logging/__init__.py (original)
+++ python/trunk/Lib/logging/__init__.py Sun Dec 14 02:46:11 2008
@@ -846,7 +846,7 @@
Add the specified logger as a child of this placeholder.
"""
#if alogger not in self.loggers:
- if not self.loggerMap.has_key(alogger):
+ if alogger not in self.loggerMap:
#self.loggers.append(alogger)
self.loggerMap[alogger] = None
More information about the Python-checkins
mailing list