syncpackage: Catch user abort.

This commit is contained in:
Benjamin Drung 2011-10-22 23:10:27 +02:00
parent 578273e517
commit fdd01746fe
2 changed files with 9 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,9 +1,13 @@
ubuntu-dev-tools (0.134) UNRELEASED; urgency=low
[ Stefano Rivera ]
* mk-sbuild: Correct typo in variable name. Thanks Laurent Declercq.
(Closes: #645917)
-- Stefano Rivera <stefanor@debian.org> Wed, 19 Oct 2011 22:38:57 +0200
[ Benjamin Drung ]
* syncpackage: Catch user abort.
-- Benjamin Drung <bdrung@debian.org> Sat, 22 Oct 2011 23:09:56 +0200
ubuntu-dev-tools (0.133) unstable; urgency=low

View File

@ -651,4 +651,7 @@ def main():
options.keyid, options.simulate, options.force)
if __name__ == "__main__":
main()
try:
main()
except KeyboardInterrupt:
Logger.normal('User abort.')