Example #1
0
 def run(self, *args, **kwargs):
     # protect against poor SIGINT handling. Handle it here instead
     # so we can kill the process without a cryptic traceback.
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Example #2
0
 def run(self, *args, **kwargs):
     # flake8 seems to handle SIGINT poorly. Handle it here instead
     # so we can kill the process without a cryptic traceback.
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Example #3
0
 def run(self, *args, **kwargs):
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Example #4
0
 def run(self, *args, **kwargs):
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)
Example #5
0
 def run(self, *args, **kwargs):
     # flake8 seems to handle SIGINT poorly. Handle it here instead
     # so we can kill the process without a cryptic traceback.
     orig = signal.signal(signal.SIGINT, signal.SIG_IGN)
     ProcessHandlerMixin.run(self, *args, **kwargs)
     signal.signal(signal.SIGINT, orig)