emerge: handle KeyboardInterrupt, not SIGINT
authorZac Medico <zmedico@gentoo.org>
Sun, 14 Oct 2012 21:59:33 +0000 (14:59 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 14 Oct 2012 21:59:33 +0000 (14:59 -0700)
commit8a8eda21d80099e74f38f5456f542611238f44a1
tree25cc0dce3f1ab9757c8131a9372ada0a82b912a2
parent916bf3fb28bb5266258a3e375520e4fdc0e62121
emerge: handle KeyboardInterrupt, not SIGINT

We handle KeyboardInterrupt instead of installing a SIGINT handler,
since exiting from signal handlers intermittently causes python to
ignore the SystemExit exception with a message like this:

Exception SystemExit: 130 in <function remove at 0x7fd2146c1320> ignored
bin/emerge
pym/_emerge/main.py