Skip to content

Commit

Permalink
Merge pull request #1249 from djmitche/subscribeConsumer-assert
Browse files Browse the repository at this point in the history
Remove assert from subscribeConsumer
  • Loading branch information
sa2ajj committed Oct 10, 2014
2 parents f43059f + 7248778 commit 3c52778
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion master/buildbot/status/logfile.py
Expand Up @@ -431,7 +431,8 @@ def unsubscribe(self, receiver):
self.watchers.remove(receiver)

def subscribeConsumer(self, consumer):
assert not self._isNewStyle, "not available in new-style steps"
# NOTE: this method is called by WebStatus, so it must remain available
# even for new-style steps
p = LogFileProducer(self, consumer)
p.resumeProducing()

Expand Down

0 comments on commit 3c52778

Please sign in to comment.