
def get_schedulers():
    return []


from buildbot.changes.filter import ChangeFilter
from buildbot.schedulers.basic import SingleBranchScheduler

def get_schedulers():
    full = SingleBranchScheduler(name="full",
                                 change_filter=ChangeFilter(branch="master"),
                                 treeStableTimer=60,
                                 builderNames=["vagrant-master"])
    return [full]

Add a scheduler for the master branch to run
Buildbot: Add a scheduler for the master branch to run

+ 
+ from buildbot.changes.filter import ChangeFilter
+ from buildbot.schedulers.basic import SingleBranchScheduler
  
  def get_schedulers():
+     full = SingleBranchScheduler(name="full",
+                                  change_filter=ChangeFilter(branch="master"),
+                                  treeStableTimer=60,
+                                  builderNames=["vagrant-master"])
-     return []
+     return [full]
  
Add a scheduler for the master branch to run
## Code Before:

def get_schedulers():
    return []

## Instruction:
Add a scheduler for the master branch to run
## Code After:

from buildbot.changes.filter import ChangeFilter
from buildbot.schedulers.basic import SingleBranchScheduler

def get_schedulers():
    full = SingleBranchScheduler(name="full",
                                 change_filter=ChangeFilter(branch="master"),
                                 treeStableTimer=60,
                                 builderNames=["vagrant-master"])
    return [full]
