diff --git a/debian/changelog b/debian/changelog index 30ec726..554de42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,7 @@ ubuntu-dev-tools (0.129) UNRELEASED; urgency=low [ Benjamin Drung ] * sponsor-patch: Default to not upload the package. + * requestsync: Do not crash on user abort (Closes: #637168). -- Benjamin Drung Tue, 06 Sep 2011 13:14:50 +0200 diff --git a/requestsync b/requestsync index 33a6462..37216f5 100755 --- a/requestsync +++ b/requestsync @@ -329,4 +329,8 @@ def main(): mailserver_user, mailserver_pass) if __name__ == '__main__': - main() + try: + main() + except KeyboardInterrupt: + print "\nUser abort." + sys.exit(2)