Skip to content

Commit

Permalink
Cope with no slave locks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k committed Jul 7, 2010
1 parent 10d0ef8 commit 630eabf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion master/buildbot/buildslave.py
Expand Up @@ -59,7 +59,9 @@ def __init__(self, name, password, max_builds=None,
self.slave_commands = None
self.slavebuilders = {}
self.max_builds = max_builds
self.access = locks
self.access = []
if locks:
self.access = locks

self.properties = Properties()
self.properties.update(properties, "BuildSlave")
Expand Down

0 comments on commit 630eabf

Please sign in to comment.