Skip to content

Commit

Permalink
break the brdict loop as soon as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Delannoy committed Oct 15, 2014
1 parent 327bf4c commit 466fa69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/buildbot/data/buildsets.py
Expand Up @@ -198,6 +198,7 @@ def maybeBuildsetComplete(self, bsid, _reactor=reactor):
cumulative_results = SKIPPED
elif brdict['results'] not in (SUCCESS, WARNINGS):
cumulative_results = FAILURE
break

# get a copy of the buildset
bsdict = yield self.master.db.buildsets.getBuildset(bsid)
Expand Down

0 comments on commit 466fa69

Please sign in to comment.