remove has_key usage

This commit is contained in:
Benjamin Peterson 2008-12-14 01:46:11 +00:00
parent 74af3bbfbd
commit 3e16f3dd7f
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ class PlaceHolder:
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