[Buildbot-commits] buildbot/buildbot scheduler.py,1.27,1.28

Brian Warner warner at users.sourceforge.net
Fri Mar 21 01:32:02 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20526/buildbot

Modified Files:
	scheduler.py 
Log Message:
[project @ clean up scheduler.Triggerable and friends]

Original author: warner at lothar.com
Date: 2008-03-21 01:30:30+00:00

Index: scheduler.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scheduler.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- scheduler.py	20 Mar 2008 17:43:08 -0000	1.27
+++ scheduler.py	21 Mar 2008 01:32:00 -0000	1.28
@@ -683,9 +683,9 @@
         return makeRemote(bs.status)
 
 class Triggerable(BaseUpstreamScheduler):
-    """
-    This scheduler doesn't do anything until it is triggered by
-    a Trigger step in a factory.
+    """This scheduler doesn't do anything until it is triggered by a Trigger
+    step in a factory. In general, that step will not complete until all of
+    the builds that I fire have finished.
     """
 
     def __init__(self, name, builderNames):
@@ -699,9 +699,8 @@
         return []
 
     def trigger(self, ss):
-        """
-        Trigger this scheduler.  Returns a deferred that will fire when the buildset
-        is finished.
+        """Trigger this scheduler. Returns a deferred that will fire when the
+        buildset is finished.
         """
         bs = buildset.BuildSet(self.builderNames, ss)
         d = bs.waitUntilFinished()





More information about the Commits mailing list