On Tue, 2011-01-25 at 16:30 -0800, Dale Curtis wrote: > Signed-off-by: Dale Curtis <[email protected]>
I was working on this one and yet again the mailer messed it. I have recreated it, applied. You might want to check what's going on with the mailer, Dale. http://autotest.kernel.org/changeset/5214 Thanks for the patch! Lucas > --- > scheduler/monitor_db.py | 10 +++++++++- > 1 files changed, 9 insertions(+), 1 deletions(-) > diff --git a/scheduler/monitor_db.py b/scheduler/monitor_db.py > index c5abed3..10bc679 100755 > --- a/scheduler/monitor_db.py > +++ b/scheduler/monitor_db.py > @@ -260,7 +260,7 @@ class SchedulerError(Exception): > """Raised by HostScheduler when an inconsistent state occurs.""" > > > -class HostScheduler(metahost_scheduler.HostSchedulingUtility): > +class BaseHostScheduler(metahost_scheduler.HostSchedulingUtility): > """Handles the logic for choosing when to run jobs and on which hosts. > > This class makes several queries to the database on each tick, building > up > @@ -663,6 +663,14 @@ class > HostScheduler(metahost_scheduler.HostSchedulingUtility): > return [] > > > +site_host_scheduler = utils.import_site_class( > + __file__, "autotest_lib.scheduler.site_host_scheduler", > + "site_host_scheduler", BaseHostScheduler) > + > +class HostScheduler(site_host_scheduler): > + pass > + > + > class Dispatcher(object): > def __init__(self): > self._agents = [] > -- > 1.7.3.1 > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
