[Python-3000-checkins] r53746 - python/branches/p3yk/Lib/logging/config.py

guido.van.rossum python-3000-checkins at python.org
Mon Feb 12 01:07:02 CET 2007


Author: guido.van.rossum
Date: Mon Feb 12 01:07:01 2007
New Revision: 53746

Modified:
   python/branches/p3yk/Lib/logging/config.py
Log:
Make test_logging pass.


Modified: python/branches/p3yk/Lib/logging/config.py
==============================================================================
--- python/branches/p3yk/Lib/logging/config.py	(original)
+++ python/branches/p3yk/Lib/logging/config.py	Mon Feb 12 01:07:01 2007
@@ -202,7 +202,7 @@
     #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


More information about the Python-3000-checkins mailing list