[Buildbot] #3194: build.getResponsibleUsers() returns None when sending mail

Buildbot trac trac at buildbot.net
Thu Feb 12 20:50:17 UTC 2015


#3194: build.getResponsibleUsers() returns None when sending mail
----------------------+------------------------
Reporter:  daniel@…   |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  master     |  Resolution:
Keywords:  osx, mail  |
----------------------+------------------------

Comment (by daniel@…):

 So I spent some time looking at this issue and the problem is at this
 line:

 https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/build.py#L144

 The problem here is that even if source.patch_info set source.path_info[0]
 is None which in my test case results in this list

 {{{
 [None, user <email>]
 }}}

 I'm unsure how to fix this bug though. Adding a check here is easy but I
 figured that the real issues may be somewhere else in the code (that sets
 patch_info)

--
Ticket URL: <http://trac.buildbot.net/ticket/3194#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list