diff options
Diffstat (limited to 'gbp/scripts/pull.py')
-rwxr-xr-x | gbp/scripts/pull.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/scripts/pull.py b/gbp/scripts/pull.py index 67b2ab1..f019608 100755 --- a/gbp/scripts/pull.py +++ b/gbp/scripts/pull.py @@ -159,6 +159,9 @@ def main(argv): Command("gbp-pq")(["import"]) repo.set_branch(current) + except KeyboardInterrupt: + retval = 1 + gbp.log.err("Interrupted. Aborting.") except CommandExecFailed: retval = 1 except (GbpError, GitRepositoryError) as err: |