Kaydet (Commit) 3e16f3dd authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove has_key usage

üst 74af3bbf
...@@ -846,7 +846,7 @@ class PlaceHolder: ...@@ -846,7 +846,7 @@ class PlaceHolder:
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment