]> granicus.if.org Git - python/commitdiff
Fix missing import of the types module in logging.config.
authorGeorg Brandl <georg@python.org>
Wed, 6 Sep 2006 20:06:27 +0000 (20:06 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 6 Sep 2006 20:06:27 +0000 (20:06 +0000)
 (backport from rev. 51785)

Lib/logging/config.py
Misc/NEWS

index 5ea0d15b64f2fd1e4db9cadf4f0b66785ed39819..f14eb122b7c7dae04158716d77ceca614ff0f242 100644 (file)
@@ -27,7 +27,7 @@ Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved.
 To use, simply 'import logging' and log away!
 """
 
-import sys, logging, logging.handlers, string, socket, struct, os, traceback
+import sys, logging, logging.handlers, string, socket, struct, os, traceback, types
 
 try:
     import thread
index 2df8b0da2c3a9d0c0037346f5ac8a43d00aa72b8..316f1f53ddcd15fe91e17d9d12de13da2ab5d3cb 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -46,6 +46,8 @@ Core and builtins
 Library
 -------
 
+- Fix missing import of the types module in logging.config.
+
 - Patch #1550886: Fix decimal module context management implementation
   to match the localcontext() example from PEP 343.