Formatting

This commit is contained in:
Sergio Durigan Junior 2015-02-09 01:42:09 -05:00
parent 53a7f66803
commit cf73409fa2

View file

@ -224,7 +224,8 @@ send to the gdb-testers mailing list."""
# went wrong. # went wrong.
text += "\n" text += "\n"
if isrebuild and isrebuild == 'yes': if isrebuild and isrebuild == 'yes':
text += "\nWARNING: This was a REBUILD request! The previous build (build #%s) MAY NOT BE the ancestor of the current build!\n\n" % properties.getProperty ('buildnumber') text += "\n*** WARNING: This was a REBUILD request! ***\n"
text += "*** The previous build (build #%s) MAY NOT BE the ancestor of the current build! ***\n\n" % properties.getProperty ('buildnumber')
found_regressions = False found_regressions = False
for log in build.getLogs (): for log in build.getLogs ():
st = log.getStep () st = log.getStep ()
@ -276,7 +277,7 @@ send to the gdb-testers mailing list."""
xfail = os.path.join (gdb_web_base, name, 'xfails', branch, 'xfail') xfail = os.path.join (gdb_web_base, name, 'xfails', branch, 'xfail')
if os.path.exists (xfail): if os.path.exists (xfail):
text += "\n\n***Failures that are being ignored:\n" text += "\n\n*** Failures that are being ignored ***\n"
text += "============================\n" text += "============================\n"
with open (xfail, 'r') as f: with open (xfail, 'r') as f:
text += f.read () text += f.read ()