Skip to content

Commit

Permalink
Correctly notify waiters when a Triggerable shuts down
Browse files Browse the repository at this point in the history
Fixes #2051
  • Loading branch information
djmitche committed Jul 14, 2011
1 parent a1dcb30 commit c8bcb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/schedulers/triggerable.py
Expand Up @@ -62,7 +62,7 @@ def stopService(self):
# and errback any outstanding deferreds
if self._waiters:
msg = 'Triggerable scheduler stopped before build was complete'
for d in self._waiters:
for d in self._waiters.values():
d.errback(failure.Failure(RuntimeError(msg)))
self._waiters = {}

Expand Down

0 comments on commit c8bcb29

Please sign in to comment.