[Buildbot-devel] ForceScheduler error

Francesco Di Mizio francescodimizio at gmail.com
Sun Feb 8 22:53:48 UTC 2015


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/14578638/attachment.html>


More information about the devel mailing list