From 888f1cb4c3084ee6a15b1ee9e1c638e765ea20fc Mon Sep 17 00:00:00 2001 From: Will Holland Date: Fri, 11 Sep 2015 14:53:34 +0100 Subject: Fix not exiting properly on an unknown repo --- firehose_call.py | 4 ++-- 1 file 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)) -- cgit v1.2.1