[Buildbot-commits] [Buildbot] #2140: Incorrect code snippet for SingleBranchScheduler

Buildbot nobody at buildbot.net
Tue Nov 1 23:19:51 UTC 2011


#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


More information about the Commits mailing list