Index: Lib/logging/__init__.py =================================================================== --- Lib/logging/__init__.py (révision 67518) +++ Lib/logging/__init__.py (copie de travail) @@ -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