MCPcopy Index your code
hub / github.com/aws/aws-cli / InterruptExceptionHandler

Class InterruptExceptionHandler

awscli/errorhandler.py:373–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371
372
373class 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
382class PrompterInterruptExceptionHandler(InterruptExceptionHandler):

Calls

no outgoing calls

Tested by

no test coverage detected