summaryrefslogtreecommitdiffstats
path: root/extras/autoship.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/autoship.py')
-rwxr-xr-xextras/autoship.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/extras/autoship.py b/extras/autoship.py
index dddb062..6028149 100755
--- a/extras/autoship.py
+++ b/extras/autoship.py
@@ -12,14 +12,9 @@ def warn(msg):
sys.stderr.write("warning: %s\n" % msg)
-def error_exit(msg):
- sys.stderr.write("error: %s\n" % msg)
- sys.exit(1)
-
-
def ensure(condition, message):
if not condition:
- error_exit(message)
+ raise Exception(message)
def get_project_info(top=None):