aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <github@adamspiers.org>2021-04-03 19:22:38 +0100
committerGitHub <noreply@github.com>2021-04-03 19:22:38 +0100
commitb7d047d634ddaef1e85e7d99002a06c952585db0 (patch)
treeee2e6e63154b9c757781f8dea1a73058efca8932
parent49fc59e4c57af93d38067b5aa81daac9ce563fb1 (diff)
parentf19669e964912bd289f1255edc18f88e3f1f0683 (diff)
downloadgit-deps-b7d047d634ddaef1e85e7d99002a06c952585db0.tar.gz
Merge pull request #94 from aspiers/ctrl-c
Don't totally ignore KeyboardInterrupt
-rwxr-xr-xgit_deps/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_deps/cli.py b/git_deps/cli.py
index 9f3db04..34a45e1 100755
--- a/git_deps/cli.py
+++ b/git_deps/cli.py
@@ -122,7 +122,7 @@ def cli(options, args):
try:
detector.find_dependencies(rev)
except KeyboardInterrupt:
- pass
+ break
if options.json:
print(json.dumps(listener.json(), sort_keys=True, indent=4))