| 371 | |
| 372 | |
| 373 | class InterruptExceptionHandler(FilteredExceptionHandler): |
| 374 | EXCEPTIONS_TO_HANDLE = KeyboardInterrupt |
| 375 | RC = 128 + signal.SIGINT |
| 376 | |
| 377 | def _do_handle_exception(self, exception, stdout, stderr, **kwargs): |
| 378 | stdout.write("\n") |
| 379 | return self.RC |
| 380 | |
| 381 | |
| 382 | class PrompterInterruptExceptionHandler(InterruptExceptionHandler): |
no outgoing calls
no test coverage detected