Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-05-24 20:09:21 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-05-24 20:09:21 (GMT)
commit7b18df70a8bf2d59d5c702eff52e6d8cb9cb9c4c (patch)
tree26e9a1e435a1964a08f5b007dc28a6bdd5316d17
parentd6661558ee7c983df0c173c51c45868472dde3ab (diff)
Handle sugar-build being on a different protocol
-rw-r--r--changesources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/changesources.py b/changesources.py
index fce1ea6..e65f543 100644
--- a/changesources.py
+++ b/changesources.py
@@ -26,7 +26,7 @@ def setup(c, config):
def codebaseGenerator(change_dict):
repository = change_dict["repository"]
- if repository == config["repo"]:
+ if repository.split("/")[:-1] == "sugar-build":
return "sugar-build"
else:
return repos.get_by_url(repository).name