]> granicus.if.org Git - python/commitdiff
Make test_logging pass.
authorGuido van Rossum <guido@python.org>
Mon, 12 Feb 2007 00:07:01 +0000 (00:07 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 12 Feb 2007 00:07:01 +0000 (00:07 +0000)
Lib/logging/config.py

index 41d577f69488364a53eca6e96df8ba7c1b1ef580..2888e5ee80d99675ade02d01e43c86c98326cb38 100644 (file)
@@ -202,7 +202,7 @@ def _install_loggers(cp, handlers):
     #what's left in existing is the set of loggers
     #which were in the previous configuration but
     #which are not in the new configuration.
-    existing = root.manager.loggerDict.keys()
+    existing = list(root.manager.loggerDict.keys())
     #now set up the new ones...
     for log in llist:
         sectname = "logger_%s" % log