changeset 141:19719b24957e

update the template
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 24 Jan 2011 13:01:26 -0800
parents 56b14dd2e3da
children 260cebcbb309
files autobot/changes/poller.py autobot/template/master/master.cfg
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/changes/poller.py	Mon Jan 24 12:53:15 2011 -0800
+++ b/autobot/changes/poller.py	Mon Jan 24 13:01:26 2011 -0800
@@ -111,7 +111,7 @@
 
     def describe(self):
         status = ""
-        if not self.master:
+        if not self.parent:
             status = "[STOPPED - check log]"
         str = '%s watching the remote git repository %s, branch: %s %s' \
                 % (self.name, self.repourl, self.branch, status)
--- a/autobot/template/master/master.cfg	Mon Jan 24 12:53:15 2011 -0800
+++ b/autobot/template/master/master.cfg	Mon Jan 24 13:01:26 2011 -0800
@@ -41,7 +41,7 @@
         if not hasattr(f, 'sources'):
             continue
         for source_type in sources:
-            _sources = getattr(_sources).get(source_type, [])
+            _sources = f.sources.get(source_type, [])
             for source, branch in _sources:
                 sources[source_type].add((source, branch))