[Buildbot-commits] [SPAM] [Buildbot] #690: MasterShellCommand does not allow description and descriptionDone parameters at init time
Buildbot
buildbot-devel at lists.sourceforge.net
Thu Jan 21 14:41:46 UTC 2010
#690: MasterShellCommand does not allow description and descriptionDone
parameters at init time
----------------------+-----------------------------------------------------
Reporter: cdadhemar | Owner:
Type: defect | Status: new
Priority: minor | Milestone: undecided
Version: 0.7.11 | Keywords:
----------------------+-----------------------------------------------------
Hello,
The !MasterShellCommand allows in its implementation to use a
'description' and 'descriptionDone' parameters.
However setting those parameters at init time raises an error :
File "[...]/.local/lib/python2.6/site-
packages/buildbot-0.7.11p3-py2.6.egg/buildbot/process/buildstep.py", line
594, in __init__
raise !TypeError(why)
exceptions.!TypeError: <buildbot.steps.master.!MasterShellCommand
instance at 0x2a98e0e4d0>.__init__ got unexpected keyword argument(s)
['description', 'descriptionDone']
It obviously comes from the parent !BuildStep key words argument check.
There is a workaround : set those parameters after the !MasterShellCommand
instanciation.
However it should be possible to do this at init time.
Thank you very much !
Cheers,
Charles-Henri
--
Ticket URL: <http://buildbot.net/trac/ticket/690>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list