Make exit on SIGINT more user-friendly

Review Request #4788 — Created Oct. 17, 2013 and submitted

Information

RBTools
master

Reviewers

Add SIGINT signal handlers for post-review/rbt to exit in a more user-friendly manner

Sponsored-by: Zonar Systems, Inc
Signed-off-by: Garrett Cooper yanegomi@gmail.com

garrett.cooper@ZL00757 ~/git/rbtools
$ rbt post --diff-filename 0001-Push-the-username-password-is-None-logic-down-into-t.patch --username yaneurabeya
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviews.reviewboard.org
Password:
garrett.cooper@ZL00757 ~/git/rbtools
$ echo $?
130

garrett.cooper@ZL00757 ~/git/rbtools
$ post-review --diff-filename 0001-Push-the-username-password-is-None-logic-down-into-t.patch --username yaneurabeya
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviews.reviewboard.org
Password:
garrett.cooper@ZL00757 ~/git/rbtools
$ echo $?
130

david
  1. Ship It!
  2. 
      
YA
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.5.x (f768248).
Loading...