diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-08-30 18:31:13 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-08-30 18:31:13 (GMT) |
commit | 609364a9898ef63e26be191cb092f0d37ab95340 (patch) | |
tree | b60e9fbb773799fa26cbd8c9fa39bfb46e52dc1d /Lib/logging/__init__.py | |
parent | 8b7da623ceb1e37d757cef95204c2384e1044a44 (diff) | |
download | cpython-609364a9898ef63e26be191cb092f0d37ab95340.zip cpython-609364a9898ef63e26be191cb092f0d37ab95340.tar.gz cpython-609364a9898ef63e26be191cb092f0d37ab95340.tar.bz2 |
Logging: removed some old commented out code.
Diffstat (limited to 'Lib/logging/__init__.py')
-rw-r--r-- | Lib/logging/__init__.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index afb4004..926b7be 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -935,16 +935,13 @@ class PlaceHolder(object): """ Initialize with the specified logger being a child of this placeholder. """ - #self.loggers = [alogger] self.loggerMap = { alogger : None } def append(self, alogger): """ Add the specified logger as a child of this placeholder. """ - #if alogger not in self.loggers: if alogger not in self.loggerMap: - #self.loggers.append(alogger) self.loggerMap[alogger] = None # @@ -1267,7 +1264,6 @@ class Logger(Filterer): Remove the specified handler from this logger. """ if hdlr in self.handlers: - #hdlr.close() hdlr.acquire() try: self.handlers.remove(hdlr) |