#2140: Incorrect code snippet for SingleBranchScheduler
-------------------+-----------------------
Reporter: mmadia | Owner:
Type: defect | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.5 | Keywords: docs
-------------------+-----------------------
As informed on IRC (thanks again for the help!) ...
The calls to SingleBranchScheduler should be using keyword arguments, i.e.
key=value. Passing the arguments positionally only works for name=value.
This can result in a {{{ exceptions.AssertionError: pass arguments to
schedulers using keyword arguments }}}
A code snippet for SingleBranchScheduler in
http://buildbot.net/buildbot/docs/0.8.5/manual/cfg-schedulers.html
#dependent-scheduler does not use key=value. Resultingly, additional
readers may be confused.
--
Ticket URL: <http://trac.buildbot.net/ticket/2140>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits