diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-05-24 19:01:27 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-05-24 19:01:27 (GMT) |
commit | e05619e7c9634593a7233168fcabd64e2c1a9e1a (patch) | |
tree | c322c111d4f528a09b37549d46aa3d48983c07dc | |
parent | f53ba1367a3cb753327a057987a1dd59d0e60596 (diff) |
Fix skipping repo logic
-rw-r--r-- | changesources.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/changesources.py b/changesources.py index b2c06ab..fb5818e 100644 --- a/changesources.py +++ b/changesources.py @@ -16,12 +16,14 @@ def setup(c, config): if config.get("sub_repos_changes", True): for repo in repos.get_sub_repos(): + skip = False + for repo_prefix in ["git://github.com/dnarvaez" "git://github.com/sugarlabs"]: if repo.url.startswith(repo_prefix): - continue + skip = False - if repo.branch: + if not skip and repo.branch: poller = GitPoller(repo.url, project="sugar-build", branches=[repo.branch], |