diff --git a/master.cfg b/master.cfg index 5e58309..34cd73d 100644 --- a/master.cfg +++ b/master.cfg @@ -23,7 +23,7 @@ from buildbot.steps.source.git import Git from buildbot.steps.slave import RemoveDirectory from buildbot.changes.filter import ChangeFilter from buildbot.buildslave import BuildSlave -from buildbot.status.builder import SUCCESS, WARNINGS, FAILURE, EXCEPTION +from buildbot.status.results import SUCCESS, WARNINGS, FAILURE, EXCEPTION from gdbcommand import GdbCatSumfileCommand from gdbgitdb import SaveGDBResults, get_builder_commit_id @@ -164,7 +164,7 @@ send to the gdb-testers mailing list.""" print_xfail = False for log in build.getLogs (): st = log.getStep () - if st.getResults () == FAILURE: + if st.getResults ()[0] == FAILURE: n = st.getName () if n == 'update gdb master repo' or n == 'update gdb repo': text += "*** Failed to update GDB git repository. This is probably a timeout problem with sourceware. ***\n"