#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
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to