diff --git a/buildbot/util/loop.py b/buildbot/util/loop.py index 572604a2105..95e9db589db 100644 --- a/buildbot/util/loop.py +++ b/buildbot/util/loop.py @@ -116,7 +116,11 @@ def when_quiet(self): return d def trigger(self): - assert self.running + # if we're triggered while not running, ignore it. We'll automatically + # trigger when the service starts + if not self.running: + print "loop triggered while service disabled; ignoring trigger" + return self._mark_runnable(run_everything=True) def _mark_runnable(self, run_everything):