oe-build-perf-report-email.py: fix one file path
PATCH 1/1 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.
Signed-off-by Markus Lehtonen <[email protected]>
--- scripts/contrib/oe-build-perf-report-email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/contrib/oe-build-perf-report-email.py +1 -1
@@ -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))
Signature · 1 line
2.12.0