Skip to content

Commit

Permalink
Merge branch 'buildbot-0.8.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Sep 9, 2012
2 parents 42155a0 + 7dfb86f commit 7aac669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/schedulers/basic.py
Expand Up @@ -200,10 +200,10 @@ def getPendingBuildTimes(self):

class SingleBranchScheduler(BaseBasicScheduler):
def getChangeFilter(self, branch, branches, change_filter, categories):
if branch is NotABranch and not change_filter and self.codebases is not None:
if branch is NotABranch and not change_filter:
config.error(
"the 'branch' argument to SingleBranchScheduler is " +
"mandatory unless change_filter or codebases is provided")
"mandatory unless change_filter is provided")
elif branches is not NotABranch:
config.error(
"the 'branches' argument is not allowed for " +
Expand Down

0 comments on commit 7aac669

Please sign in to comment.