aboutsummaryrefslogtreecommitdiff
path: root/gbp/scripts/create_remote_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/create_remote_repo.py')
-rw-r--r--gbp/scripts/create_remote_repo.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py
index 539c18d..db60959 100644
--- a/gbp/scripts/create_remote_repo.py
+++ b/gbp/scripts/create_remote_repo.py
@@ -375,7 +375,9 @@ def main(argv):
gbp.log.info("You can now add:")
print_config(remote, branches)
gbp.log.info("to your .git/config to 'gbp-pull' and 'git push' in the future.")
-
+ except KeyboardInterrupt:
+ retval = 1
+ gbp.log.err("Interrupted. Aborting.")
except CommandExecFailed:
retval = 1
except (GbpError, GitRepositoryError) as err: