예제 #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)
예제 #2
0
파일: flake8.py 프로젝트: layely/gecko-dev
 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)
예제 #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)
예제 #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)
예제 #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)