move the imports

This commit is contained in:
Jean-Paul Calderone 2020-04-15 08:54:50 -04:00
parent 47bef6038f
commit 72ca4e8c53
No known key found for this signature in database
GPG Key ID: 86E6F8BAE797C287

View File

@ -1,3 +1,8 @@
from traceback import extract_stack, format_list
from foolscap.pb import Listener
from twisted.python.log import err
from twisted.application import service
from foolscap.logging.incident import IncidentQualifier
class NonQualifier(IncidentQualifier, object):
@ -57,11 +62,6 @@ def logging_for_pb_listener():
Make Foolscap listen error reports include Listener creation stack
information.
"""
from traceback import extract_stack, format_list
from foolscap.pb import Listener
from twisted.python.log import err
from twisted.application import service
original__init__ = Listener.__init__
def _listener__init__(self, *a, **kw):
original__init__(self, *a, **kw)