mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 03:06:41 +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
|
from foolscap.logging.incident import IncidentQualifier
|
||||||
class NonQualifier(IncidentQualifier, object):
|
class NonQualifier(IncidentQualifier, object):
|
||||||
@ -57,11 +62,6 @@ def logging_for_pb_listener():
|
|||||||
Make Foolscap listen error reports include Listener creation stack
|
Make Foolscap listen error reports include Listener creation stack
|
||||||
information.
|
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__
|
original__init__ = Listener.__init__
|
||||||
def _listener__init__(self, *a, **kw):
|
def _listener__init__(self, *a, **kw):
|
||||||
original__init__(self, *a, **kw)
|
original__init__(self, *a, **kw)
|
||||||
|
Loading…
Reference in New Issue
Block a user