[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - __init__.py:1.12

Fred L. Drake, Jr. fred at zope.com
Mon Jan 5 11:32:27 EST 2004


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv29748

Modified Files:
	__init__.py 
Log Message:
clean up some imports


=== Zope/lib/python/Zope/Startup/__init__.py 1.11 => 1.12 ===
--- Zope/lib/python/Zope/Startup/__init__.py:1.11	Sat Aug  2 01:45:45 2003
+++ Zope/lib/python/Zope/Startup/__init__.py	Mon Jan  5 11:32:26 2004
@@ -14,10 +14,11 @@
 
 """ Startup package.  Responsible for startup configuration of Zope """
 
+import logging
 import os
+import re
 import sys
 import socket
-import re
 
 import ZConfig
 
@@ -103,7 +104,6 @@
         import zLOG
 
         from zLOG.LogHandlers import StartupHandler
-        import logging
 
         if self.cfg.eventlog is not None:
             # get the lowest handler level.  This is the effective level
@@ -208,7 +208,6 @@
             self.cfg.trace()
 
     def flushStartupHandlerBuffer(self):
-        import logging
         logger = logging.getLogger('event')
         self.startup_handler.flushBufferTo(logger)
 




More information about the Zope-Checkins mailing list