summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-08-17 16:36:37 -0700
committerJesse Keating <jkeating@redhat.com>2010-08-17 16:36:37 -0700
commitcc15ec128745cd663b93fbc12c114999a220c53d (patch)
treeff8793b75d1e8eb9e088929cdd2b4999990225ee /src
parentc6c745e8573b8b8df3b9cf673532263608969de1 (diff)
downloadfedora-packager-cc15ec128745cd663b93fbc12c114999a220c53d.zip
fedora-packager-cc15ec128745cd663b93fbc12c114999a220c53d.tar.gz
fedora-packager-cc15ec128745cd663b93fbc12c114999a220c53d.tar.xz
Catch double ^c's from build. RHBZ #620465
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fedpkg.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index ae829fa..2d01681 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -1068,4 +1068,7 @@ packages will be built sequentially.
log.addHandler(streamhandler)
# Run the necessary command
- args.command(args)
+ try:
+ args.command(args)
+ except KeyboardInterrupt:
+ pass