mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-01 18:56:41 +00:00
trailing-whitespace eradication, no functional changes
This commit is contained in:
parent
8d000aa1ec
commit
ef546da72b
@ -7,7 +7,7 @@ class SignalMixin:
|
|||||||
# outside the usual reactor.run() environment. It is copied from
|
# outside the usual reactor.run() environment. It is copied from
|
||||||
# Twisted's twisted.test.test_process
|
# Twisted's twisted.test.test_process
|
||||||
sigchldHandler = None
|
sigchldHandler = None
|
||||||
|
|
||||||
def setUpClass(self):
|
def setUpClass(self):
|
||||||
# make sure SIGCHLD handler is installed, as it should be on
|
# make sure SIGCHLD handler is installed, as it should be on
|
||||||
# reactor.run(). problem is reactor may not have been run when this
|
# reactor.run(). problem is reactor may not have been run when this
|
||||||
@ -15,7 +15,7 @@ class SignalMixin:
|
|||||||
if hasattr(reactor, "_handleSigchld") and hasattr(signal, "SIGCHLD"):
|
if hasattr(reactor, "_handleSigchld") and hasattr(signal, "SIGCHLD"):
|
||||||
self.sigchldHandler = signal.signal(signal.SIGCHLD,
|
self.sigchldHandler = signal.signal(signal.SIGCHLD,
|
||||||
reactor._handleSigchld)
|
reactor._handleSigchld)
|
||||||
|
|
||||||
def tearDownClass(self):
|
def tearDownClass(self):
|
||||||
if self.sigchldHandler:
|
if self.sigchldHandler:
|
||||||
signal.signal(signal.SIGCHLD, self.sigchldHandler)
|
signal.signal(signal.SIGCHLD, self.sigchldHandler)
|
||||||
|
Loading…
Reference in New Issue
Block a user