[Buildbot-devel] ForceScheduler error

Francesco Di Mizio francescodimizio at gmail.com
Sun Feb 8 22:54:14 UTC 2015


Return went off...

http://docs.buildbot.net/latest/manual/cfg-schedulers.html#sched-ForceScheduler

On Sun, Feb 8, 2015 at 11:53 PM, Francesco Di Mizio <
francescodimizio at gmail.com> wrote:

> Forgot to include the link.
>
>
> On Sat, Feb 7, 2015 at 4:45 PM, Francesco Di Mizio <
> francescodimizio at gmail.com> wrote:
>
>> Lastest code - Following the docs I set up a force scheduler.
>> Basically just a copy paste from the docs.
>>
>>
>>
>> from buildbot.plugins import schedulers, util
>>
>> sch = schedulers.ForceScheduler(
>>              name="force",
>>              builderNames=["my-builder"],
>>
>>              # will generate a combo box
>>              branch=util.ChoiceStringParameter(name="branch",
>>                                                choices=["main","devel"],
>>                                                default="main"),
>>
>>
>>
>> File "/home/XXXXX/master/master.cfg", line 84, in <module>
>>             branch=util.ChoiceStringParameter(name="branch",
>> choices=["main","devel"], default="main"),
>>         exceptions.TypeError: __init__() got an unexpected keyword
>> argument 'branch'
>>
>>
>> Used to work without trouble on wight.
>>
>> Any idea about this?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150208/859f35c1/attachment.html>


More information about the devel mailing list