diff options
author | Adam Spiers <git@adamspiers.org> | 2016-06-29 18:29:01 +0100 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2018-05-15 13:42:16 +0100 |
commit | ae29575ff9e22d088dd2f974a9de2c040d34c60f (patch) | |
tree | 97631180775749d2be45e981997bcce993c66325 /git_deps | |
parent | f30f49e57f29a2ba62a2a23d894d59d03a207af4 (diff) | |
download | git-deps-ae29575ff9e22d088dd2f974a9de2c040d34c60f.tar.gz |
reuse abort from utils.py
Diffstat (limited to 'git_deps')
-rwxr-xr-x | git_deps/handler.py | 5 |
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(): |