Skip to content

Commit

Permalink
getSourceStampSetId always returns the setid
Browse files Browse the repository at this point in the history
  • Loading branch information
hborkhuis committed Mar 5, 2012
1 parent 9f692a5 commit d5036ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/sourcestamp.py
Expand Up @@ -283,8 +283,8 @@ def upgradeToVersion3(self):
@util.deferredLocked('_getSourceStampSetId_lock')
def getSourceStampSetId(self, master):
"temporary; do not use widely!"
if self.ssid:
return defer.succeed(self.ssid)
if self.sourcestampsetid:
return defer.succeed(self.sourcestampsetid)
# add it to the DB
patch_body = None
patch_level = None
Expand Down

0 comments on commit d5036ea

Please sign in to comment.