Skip to content

Commit

Permalink
fix requirement that BuilderConfig category be non-None
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Feb 20, 2010
1 parent 8293230 commit bfe3bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/config.py
Expand Up @@ -64,7 +64,7 @@ def __init__(self,
self.slavebuilddir = slavebuilddir

# remainder are optional
assert isinstance(category, str)
assert category is None or isinstance(category, str)
self.category = category
self.nextSlave = nextSlave
self.nextBuild = nextBuild
Expand Down

0 comments on commit bfe3bcd

Please sign in to comment.