From 2ee4bd06cdf6f407759222f701f0f72199d9b131 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sat, 23 Jul 2016 13:05:23 -0400 Subject: [PATCH] Fix typo --- master.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/master.cfg b/master.cfg index e84b98a..20f792f 100644 --- a/master.cfg +++ b/master.cfg @@ -413,7 +413,7 @@ send to the gdb-testers mailing list.""" git_url = "http://gdb-build.sergiodj.net/cgit" branch = build.getSourceStamps ()[0].branch sourcestamp = build.getSourceStamps ()[0] - cur_change = sourcestamp.patch + cur_change = sourcestamp.patch[0] properties = build.getProperties () isrebuild = properties.getProperty ('isRebuild') @@ -459,7 +459,7 @@ send to the gdb-testers mailing list.""" for log in build.getLogs (): st = log.getStep () n = st.getName () - if st.getResults ()[0] == SUCCESS or st.getResults ()[0] == WARNING: + if st.getResults ()[0] == SUCCESS or st.getResults ()[0] == WARNINGS: if n == 'regressions': text += "Congratulations! No regressions were found in this build!\n\n" break