mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
oe-build-perf-report-email.py: fix one file path
Sending report email was not working correctly if the script was given an html report path that contained directory components. (From OE-Core rev: 1da641661bb5963fcbd7ac2c20bc997c3eae6f18) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
36b2865318
commit
f81a532dd6
@@ -243,7 +243,7 @@ def main(argv=None):
|
||||
html_report = None
|
||||
if args.html:
|
||||
scrape_html_report(args.html, outdir, args.phantomjs_args)
|
||||
html_report = os.path.join(outdir, args.html)
|
||||
html_report = os.path.join(outdir, os.path.basename(args.html))
|
||||
|
||||
if args.to:
|
||||
log.info("Sending email to %s", ', '.join(args.to))
|
||||
|
||||
Reference in New Issue
Block a user