From 9466327fe9f896071d0d52a60c5e592b40156e25 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Tue, 27 Feb 2018 10:44:17 +0100 Subject: [PATCH] add hook skip message --- create-github-hooks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/create-github-hooks b/create-github-hooks index a9381d54a6a2..29132c94035c 100755 --- a/create-github-hooks +++ b/create-github-hooks @@ -82,7 +82,9 @@ if __name__ == "__main__": gh = ghx if exists (join(SCRIPT_DIR,"repos",repo_name,"repo_config.py")): exec 'from repos.'+repo_name.replace("/",".")+' import repo_config' - if not repo_config.ADD_WEB_HOOK: continue + if not repo_config.ADD_WEB_HOOK: + print "Skipped Web hook:",repo_name + continue gh = Github(login_or_token=open(expanduser(repo_config.GH_TOKEN)).read().strip()) repo_name = repo_config.GH_REPO_FULLNAME print "Checking for repo ",repo_name