[Buildbot-devel] More Python Trouble
Dustin J. Mitchell
dustin at zmanda.com
Mon Dec 1 18:41:34 UTC 2008
On Mon, Dec 1, 2008 at 1:14 PM, David A. Greene <greened at obbligato.org> wrote:
> def __init__(self, type, *args, **kwargs):
> description = "testing " + type
> descriptionDone = "test " + type
> Test.__init__(self, *args, **kwargs)
BuildStep objects are their own factories, and you have to jump
through a lot of hoops to make that work. Take a look at, for
example, the ShellCommand constructor. All arguments must be keyword
arguments, and you must call self.addFactoryArguments with any
important arguments.
Dustin
--
Storage Software Engineer
http://www.zmanda.com
More information about the devel
mailing list