Skip to content

Commit

Permalink
fix logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jan 12, 2013
1 parent e0f133b commit 438b525
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions master/buildbot/schedulers/timed.py
Expand Up @@ -331,7 +331,7 @@ def gotChange(self, change, important):
return defer.succeed(None) # don't care about this change
return self.master.db.schedulers.classifyChanges(
self.objectid, { change.number : important })

@defer.inlineCallbacks
def startBuild(self):
scheds = self.master.db.schedulers
Expand Down Expand Up @@ -393,9 +393,10 @@ def setLast(lastTrigger):
pass
# If the lastTrigger isn't of the right format, ignore it
if not self._lastTrigger:
log.msg("NightlyTriggerable Scheduler <%(scheduler)s>: "
"could not load previous state; starting fresh",
scheduler=self.name)
log.msg(
format="NightlyTriggerable Scheduler <%(scheduler)s>: "
"could not load previous state; starting fresh",
scheduler=self.name)
d.addCallback(setLast)
d.addErrback(log.err, 'while getting NightlyTriggerable state')

Expand Down

0 comments on commit 438b525

Please sign in to comment.