[Python-checkins] python/dist/src/Lib/logging __init__.py,1.2,1.3
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Fri, 15 Nov 2002 15:31:31 -0800
Update of /cvsroot/python/python/dist/src/Lib/logging
In directory usw-pr-cvs1:/tmp/cvs-serv16586/Lib/logging
Modified Files:
__init__.py
Log Message:
SF Patch #638825 logging module
Fix pychecker warnings, remove unused imports and rename root
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/logging/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py 13 Nov 2002 16:18:29 -0000 1.2
--- __init__.py 15 Nov 2002 23:31:28 -0000 1.3
***************
*** 27,31 ****
"""
! import sys, os, types, time, string, struct, cPickle, cStringIO
try:
--- 27,31 ----
"""
! import sys, os, types, time, string, cStringIO
try:
***************
*** 714,722 ****
holds the hierarchy of loggers.
"""
! def __init__(self, root):
"""
Initialize the manager with the root node of the logger hierarchy.
"""
! self.root = root
self.disable = 0
self.emittedNoHandlerWarning = 0
--- 714,722 ----
holds the hierarchy of loggers.
"""
! def __init__(self, rootnode):
"""
Initialize the manager with the root node of the logger hierarchy.
"""
! self.root = rootnode
self.disable = 0
self.emittedNoHandlerWarning = 0