[Buildbot-commits] [Buildbot] #2070: Step subclasses are confusing
Buildbot
nobody at buildbot.net
Thu Aug 4 14:49:42 UTC 2011
#2070: Step subclasses are confusing
------------------------+-------------------
Reporter: dustin | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.8.5
Version: 0.8.4p2 | Keywords: docs
------------------------+-------------------
In particular, passing specific arguments to parent classes doesn't work:
{{{
File "/opt/buildbot/mingw-w64/master/scripts/buildsteps.py",
line 86, in __init__
SetProperty.__init__(self, doStepIf=self.condprop_check,
**kwargs)
exceptions.TypeError: __init__() got multiple values for keyword
argument 'doStepIf'
}}}
because doStepIf ends up in the factory args, and thus in kwargs, and then
becomes a duplicate parameter. Either the correct method for this
particular form should be documented, or the whole thing should be fixed.
--
Ticket URL: <http://trac.buildbot.net/ticket/2070>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list