Skip to content

Instantly share code, notes, and snippets.

@Kami
Created March 30, 2011 21:00
Show Gist options
  • Select an option

  • Save Kami/895292 to your computer and use it in GitHub Desktop.

Select an option

Save Kami/895292 to your computer and use it in GitHub Desktop.
build_lock = locks.MasterLock('tests')
builders = []
for builder in BUILDER_NAMES:
builder_dict = {
'name': builder,
'slavename': 'slave',
'builddir': builder,
'factory': builder_factories[builder],
'locks': [build_lock.access('exclusive')]
}
builders.append(builder_dict)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment