Skip to content

Commit

Permalink
Make sure that locks are renderable.
Browse files Browse the repository at this point in the history
The expected usage is that someone would create a renderable that
returns a list of locks so that this list can be dynamic.
  • Loading branch information
Vitali Lovich committed May 21, 2015
1 parent 952a354 commit 83bf42c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/buildbot/process/buildstep.py
Expand Up @@ -438,6 +438,8 @@ def startStep(self, remote):
name=util.ascii2unicode(self.name))
yield self.master.data.updates.startStep(self.stepid)

self.locks = yield self.build.render(self.locks)

# convert all locks into their real form
self.locks = [(self.build.builder.botmaster.getLockFromLockAccess(access), access)
for access in self.locks]
Expand Down

0 comments on commit 83bf42c

Please sign in to comment.