Skip to content

Instantly share code, notes, and snippets.

View benallard's full-sized avatar
🤹
Juggling

Benoît Allard benallard

🤹
Juggling
View GitHub Profile
@benallard
benallard / matrixbuilder.py
Created November 20, 2014 17:09
A buildbot utility class to create a bunch of Builders for a list of slaves.
class MatrixBuilders(object):
""" Create a bunch of builders, one per slave, and the
corresponding schedulers """
def __init__(self, baseName, factory, slaveNames):
""" Create a MatrixBuilder, with the factory for each slave """
self._baseName = baseName
self._factory = factory
self._slaves = slaveNames
def builderName(self, slaveName):