Skip to content

Commit

Permalink
Remove some unused HTML vars and minor whitespace tweak (trilinos/Tri…
Browse files Browse the repository at this point in the history
…linos#3887)

With the creation and usage of getFullCDashHtmlReportPageStr(), the
HTML-specific vars in main() are no longer needed!

I also added a newline at end of the last </p> in the top block of HTML text.
This makes a separator to the bottom content.
  • Loading branch information
bartlettroscoe committed Jun 8, 2020
1 parent 8d285d5 commit d7da7e2
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions tribits/ci_support/cdash_analyze_and_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,26 +923,7 @@ def getTestHistory(self, testLOD):

# Finish off the top paragraph of the summary lines
cdashReportData.htmlEmailBodyTop += \
"</p>"

# Construct HTML body guts without header or begin/end body.
htmlEmaiBodyGuts = \
cdashReportData.htmlEmailBodyTop+\
"\n\n"+\
cdashReportData.htmlEmailBodyBottom

htmlHeaderAndBeginBody = \
"<html>\n"+\
"<head>\n"+\
CDQAR.getDefaultHtmlPageStyleStr()+\
"</head>\n"+\
"\n"+\
"<body>\n"+\
"\n"

htmlEndBody = \
"</body>\n"+\
"</html>\n"
"</p>\n"

#
# G) Write HTML body file and/or send HTML email(s)
Expand Down

0 comments on commit d7da7e2

Please sign in to comment.