mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 01:38:55 +00:00
move the imports
This commit is contained in:
parent
47bef6038f
commit
72ca4e8c53
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user