-
Committer:
🤖 Landscape Builder
-
Author(s):
Steffen Allner
-
Date:
2017-04-05 13:55:00 UTC
-
mfrom:
(996.1.3 raise-error-on-signal)
-
Revision ID:
_landscape_builder-20170405135500-zzo9ro21blzhfswm
Merge raise-error-on-signal [f=] [r=ericsnowcurrently,landscape-builder,nilo] [a=Gocept]
"Raise" a new SignalError from AllOutputProcessProtocol.processEnded().
The exception is propagated through reactor.errback() rather than actually raised. SignalError happens when a twisted-spawned process exits due to a signal. This is a necessary change because of how twisted errbacks are handled in Python 3. However, it is also a valid change for Python 2 since errbacks align with exceptions, not tuples.