Commits

Georg Brandl  committed 4aa9841

Fix missing import of the types module in logging.config.
(backport from rev. 51785)

  • Participants
  • Parent commits 3b75edc
  • Branches 2.5

Comments (0)

Files changed (2)

File Lib/logging/config.py

 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
 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.