do no set twisted's signal handlers; this makes Ctrl-C raise KeyboardError as usual
This commit is contained in:
@@ -48,7 +48,7 @@ class Hub:
|
|||||||
# 3-restarted
|
# 3-restarted
|
||||||
state = 0
|
state = 0
|
||||||
|
|
||||||
installSignalHandlers = True
|
installSignalHandlers = False
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
assert Hub.state==0, ('This hub can only be instantiated once', Hub.state)
|
assert Hub.state==0, ('This hub can only be instantiated once', Hub.state)
|
||||||
|
Reference in New Issue
Block a user