jhbuild r2238 - in trunk: . jhbuild/buildbot



Author: fpeters
Date: Thu Aug 14 22:26:44 2008
New Revision: 2238
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2238&view=rev

Log:
* jhbuild/buildbot/scheduler.py: import missing module and initialize
correctly change notification.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/buildbot/scheduler.py

Modified: trunk/jhbuild/buildbot/scheduler.py
==============================================================================
--- trunk/jhbuild/buildbot/scheduler.py	(original)
+++ trunk/jhbuild/buildbot/scheduler.py	Thu Aug 14 22:26:44 2008
@@ -25,7 +25,7 @@
 from twisted.internet import reactor
 from buildbot.scheduler import Periodic, BaseUpstreamScheduler
 from buildbot.sourcestamp import SourceStamp
-from buildbot import buildset
+from buildbot import buildset, util
 
 def SerialScheduler(name, project, builderNames, periodicBuildTimer=60*60*12,
         upstream=None, branch=None):
@@ -104,6 +104,7 @@
     def __init__(self, name, project, builderNames, periodicBuildTimer,
                  branch=None):
         Periodic.__init__(self,name,builderNames,periodicBuildTimer,branch)
+        ChangeNotification.__init__(self)
         self.project = project
         self.finishedWatchers = []
 
@@ -128,6 +129,7 @@
 
     def __init__(self, name, project, upstream, builderNames, branch):
         BaseUpstreamScheduler.__init__(self, name)
+        ChangeNotification.__init__(self)
         self.project = project
         self.upstream = upstream
         self.branch = branch



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]