summaryrefslogtreecommitdiff
path: root/firehose_call.py
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-11 14:53:34 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-11 14:53:34 +0100
commit888f1cb4c3084ee6a15b1ee9e1c638e765ea20fc (patch)
tree57cb3bb47996b788b862b6289f5b71564e511c7c /firehose_call.py
parent5fe82b85ecd5d79ec1fd14434e223ae6693c5298 (diff)
downloadbuildslave-scripts-888f1cb4c3084ee6a15b1ee9e1c638e765ea20fc.tar.gz
Fix not exiting properly on an unknown repo
Diffstat (limited to 'firehose_call.py')
-rw-r--r--firehose_call.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/firehose_call.py b/firehose_call.py
index bbd9111..f212736 100644
--- a/firehose_call.py
+++ b/firehose_call.py
@@ -40,8 +40,8 @@ if __name__ == '__main__':
try:
configs = mapping[repo]
except:
- log("Repo unknown: %s" % repo)
- exit(1)
+ log("Unknown repo: %s, Firehose not triggered" % repo)
+ exit(0)
os.chdir(FIREHOSE_DIR)
exit_val = subprocess.call(firehose_cmd(configs))