commit | 3e16f3dd7f9219a19e5802b721b19fde93fc56a5 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Dec 14 01:46:11 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Dec 14 01:46:11 2008 +0000 |
tree | e382283bd97483c71916409568f7dc1a0ae63abb | |
parent | 74af3bbfbdb925b5af5ec26f75cbc56698331d62 [diff] |
remove has_key usage
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index bd1a49d..513d4dc 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py
@@ -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