From 673d803d0fc6f3ccf0218b710b31517f18e3b7df Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 31 Jan 2018 16:41:49 +0100 Subject: [PATCH] cleanup --- create-github-hooks | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/create-github-hooks b/create-github-hooks index 5fcf4ff81368..a9381d54a6a2 100755 --- a/create-github-hooks +++ b/create-github-hooks @@ -78,7 +78,6 @@ if __name__ == "__main__": repos[r]=None #process repos - error = 0 for repo_name in repos: gh = ghx if exists (join(SCRIPT_DIR,"repos",repo_name,"repo_config.py")): @@ -91,7 +90,6 @@ if __name__ == "__main__": hooks = hk_conf.keys() if not hooks: print "==>Warning: No hook found for repository",repo_name - error = 1 continue print "Found hooks:",hooks @@ -125,4 +123,4 @@ if __name__ == "__main__": repo.create_hook(**hook_conf) api_rate_limits(gh) print "Hook created in github.....success",hook - exit(error) +