Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Don't update teams if config file says not to
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Apr 9, 2014
1 parent ec53bdc commit dff936e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zope/githubsupport/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ def update_all_repositories(gh, config, options):
org = gh.organization(org_name)
for repo in org.iter_repos():
print("Found Repository: " + repo.name)
update_teams(org, repo, config, options)
if config.getboolean('github', 'update-teams'):
update_teams(org, repo, config, options)
update_hooks(repo, config, options)


Expand Down

0 comments on commit dff936e

Please sign in to comment.