trailing-whitespace eradication, no functional changes

This commit is contained in:
Brian Warner 2007-11-01 15:29:31 -07:00
parent 8d000aa1ec
commit ef546da72b

View File

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