Skip to content

Commit

Permalink
remove unnecessary inlineCallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jan 5, 2013
1 parent 208426e commit cb1b5a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions master/buildbot/schedulers/base.py
Expand Up @@ -322,7 +322,6 @@ def get_last_change_for_codebase(codebase):

defer.returnValue((bsid,brids))

@defer.inlineCallbacks
def addBuildsetForSourceStamps(self, sourcestamps=[], reason='',
external_idstring=None, properties=None, builderNames=None):
"""
Expand Down Expand Up @@ -355,8 +354,7 @@ def addBuildsetForSourceStamps(self, sourcestamps=[], reason='',
# addBuildset method
properties_dict = properties.asDict()

rv = yield self.master.data.updates.addBuildset(
return self.master.data.updates.addBuildset(
scheduler=self.name, sourcestamps=sourcestamps, reason=reason,
properties=properties_dict, builderNames=builderNames,
external_idstring=external_idstring)
defer.returnValue(rv)

0 comments on commit cb1b5a9

Please sign in to comment.