Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gudrutis committed Feb 27, 2018
2 parents 5d207b6 + 9466327 commit 8174d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion create-github-hooks
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8174d62

Please sign in to comment.