aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2016-06-29 18:29:01 +0100
committerAdam Spiers <git@adamspiers.org>2018-05-15 13:42:16 +0100
commitae29575ff9e22d088dd2f974a9de2c040d34c60f (patch)
tree97631180775749d2be45e981997bcce993c66325 /git_deps
parentf30f49e57f29a2ba62a2a23d894d59d03a207af4 (diff)
downloadgit-deps-ae29575ff9e22d088dd2f974a9de2c040d34c60f.tar.gz
reuse abort from utils.py
Diffstat (limited to 'git_deps')
-rwxr-xr-xgit_deps/handler.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/git_deps/handler.py b/git_deps/handler.py
index badc27e..2fa2c54 100755
--- a/git_deps/handler.py
+++ b/git_deps/handler.py
@@ -7,10 +7,7 @@ import subprocess
import sys
from urlparse import urlparse
-
-def abort(msg, exitcode=1):
- print(msg, file=sys.stderr)
- sys.exit(exitcode)
+from git_deps.utils import abort
def usage():