mirror of https://github.com/python/cpython.git
remove has_key usage
This commit is contained in:
parent
74af3bbfbd
commit
3e16f3dd7f
|
@ -846,7 +846,7 @@ def append(self, alogger):
|
||||||
Add the specified logger as a child of this placeholder.
|
Add the specified logger as a child of this placeholder.
|
||||||
"""
|
"""
|
||||||
#if alogger not in self.loggers:
|
#if alogger not in self.loggers:
|
||||||
if not self.loggerMap.has_key(alogger):
|
if alogger not in self.loggerMap:
|
||||||
#self.loggers.append(alogger)
|
#self.loggers.append(alogger)
|
||||||
self.loggerMap[alogger] = None
|
self.loggerMap[alogger] = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue