Commit 2f87a608 authored by Fred Drake's avatar Fred Drake

clean up some imports

parent 25176ce9
...@@ -14,10 +14,11 @@ ...@@ -14,10 +14,11 @@
""" Startup package. Responsible for startup configuration of Zope """ """ Startup package. Responsible for startup configuration of Zope """
import logging
import os import os
import re
import sys import sys
import socket import socket
import re
import ZConfig import ZConfig
...@@ -103,7 +104,6 @@ class ZopeStarter: ...@@ -103,7 +104,6 @@ class ZopeStarter:
import zLOG import zLOG
from zLOG.LogHandlers import StartupHandler from zLOG.LogHandlers import StartupHandler
import logging
if self.cfg.eventlog is not None: if self.cfg.eventlog is not None:
# get the lowest handler level. This is the effective level # get the lowest handler level. This is the effective level
...@@ -208,7 +208,6 @@ class ZopeStarter: ...@@ -208,7 +208,6 @@ class ZopeStarter:
self.cfg.trace() self.cfg.trace()
def flushStartupHandlerBuffer(self): def flushStartupHandlerBuffer(self):
import logging
logger = logging.getLogger('event') logger = logging.getLogger('event')
self.startup_handler.flushBufferTo(logger) self.startup_handler.flushBufferTo(logger)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment