do no set twisted's signal handlers; this makes Ctrl-C raise KeyboardError as usual

This commit is contained in:
Denis Bilenko
2008-10-10 16:21:52 +07:00
parent a17c23b913
commit add7f61d59

View File

@@ -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)