Skip to content

Commit

Permalink
use keyword arguments in example; fixes #2140.
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Nov 13, 2011
1 parent ba27ffb commit 762a4c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions master/docs/manual/cfg-schedulers.rst
Expand Up @@ -349,11 +349,12 @@ The keyword arguments to this scheduler are:
Example::

from buildbot.schedulers import basic
tests = basic.SingleBranchScheduler("just-tests", None, 5*60,
["full-linux", "full-netbsd", "full-OSX"])
tests = basic.SingleBranchScheduler(name="just-tests",
treeStableTimer=5*60,
builderNames=["full-linux", "full-netbsd", "full-OSX"])
package = basic.Dependent(name="build-package",
upstream=tests, # <- no quotes!
builderNames=["make-tarball", "make-deb", "make-rpm"])
upstream=tests, # <- no quotes!
builderNames=["make-tarball", "make-deb", "make-rpm"])
c['schedulers'] = [tests, package]

.. bb:sched:: Periodic
Expand Down

0 comments on commit 762a4c9

Please sign in to comment.