Skip to content

Commit

Permalink
Changed check if patch info should be in blamelist
Browse files Browse the repository at this point in the history
When patch_info is being setup in build_request.py it's being set to (None, None) which makes this check incorrect but patch is being set to None. Now the check patch instead and that resolves the issue outlined in this ticket:

http://trac.buildbot.net/ticket/3194
  • Loading branch information
emoon committed Feb 13, 2015
1 parent 9b8d271 commit c6b1277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/process/build.py
Expand Up @@ -140,7 +140,7 @@ def blamelist(self):
if c.who not in blamelist:
blamelist.append(c.who)
for source in self.sources:
if source.patch_info: # Add patch author to blamelist
if source.patch: # Add patch author to blamelist
blamelist.append(source.patch_info[0])
blamelist.sort()
return blamelist
Expand Down

0 comments on commit c6b1277

Please sign in to comment.