[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5530/8267] oe-build-perf-report-email.py: fix one file path
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5530/8267] oe-build-perf-report-email.py: fix one file path
- Date: Sun, 17 Dec 2017 03:34:10 +0000 (UTC)
commit f81a532dd65ba5148b7072231ed85361dbad7a2c
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date: Thu Apr 6 10:10:18 2017 +0300
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>
scripts/contrib/oe-build-perf-report-email.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/contrib/oe-build-perf-report-email.py b/scripts/contrib/oe-build-perf-report-email.py
index 7f4274e..81b58ab 100755
--- a/scripts/contrib/oe-build-perf-report-email.py
+++ b/scripts/contrib/oe-build-perf-report-email.py
@@ -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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]