Ticket #330: getresult.patch

File getresult.patch, 0.6 kB (added by RobotAdam, 5 months ago)
  • old-buildbot/buildbot/status/words.py

    old new  
    337337 
    338338        prevBuild = build.getPreviousBuild() 
    339339        if prevBuild: 
    340             prevResult = prevBuild.getResult() 
     340            prevResult = prevBuild.getResults() 
    341341 
    342342            if (self.notify_for('failureToSuccess') and prevResult == FAILURE and results == SUCCESS) or \ 
    343343               (self.notify_for('successToFailure') and prevResult == SUCCESS and results == FAILURE):