Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)