Skip to content

Commit

Permalink
Trivial mail fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg MacDonald authored and Pierre Tardy committed Jun 28, 2016
1 parent 420cba2 commit 4076dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/reporters/utils.py
Expand Up @@ -30,7 +30,7 @@ def getPreviousBuild(master, build):
n = build['number'] - 1
while n >= 0:
prev = yield master.data.get(("builders", build['builderid'], "builds", n))
if prev['results'] != RETRY:
if prev and prev['results'] != RETRY:
defer.returnValue(prev)
n -= 1
defer.returnValue(None)
Expand Down Expand Up @@ -163,7 +163,7 @@ def getResponsibleUsersForBuild(master, buildid):

# add owner from properties
if 'owner' in properties:
blamelist.add(properties['owner'][0])
blamelist.update(properties['owner'][0])

blamelist = list(blamelist)
blamelist.sort()
Expand Down

0 comments on commit 4076dbc

Please sign in to comment.