Lokaltog/powerline — pull request #366 by WoLpH (2013-03-25 15:14:53+00:00)
Title: Catch keyboardinterrupts to prevent stacktraces

When pressing ^c a few times (which can be needed to kill really stuck scripts) you see the stacktrace at times.

This small fix prevents showing a stacktrace (and error status code) in these cases. There might be a better way to handle the `sys.exit()` but since this has to be fast I would rather not depend on anything else.