summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-12-23 11:28:14 +0100
committerKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-12-24 13:26:55 +0900
commit88faa5b020952aac35cba9c51873e7a694c2dd07 (patch)
treebe38023fedfd8aa28f7e261768b6bcabf299c3b5 /scripts
parent786e6a9c9c25d7b280c5153e7f80bda01b203cb5 (diff)
scripts: html.py: Always generate a commit table
If no bsp-commits are present, upstream commits are not listed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/myhtml.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/myhtml.py b/scripts/myhtml.py
index f7d5349..1d5eed4 100755
--- a/scripts/myhtml.py
+++ b/scripts/myhtml.py
@@ -545,16 +545,15 @@ class periject_html(base.base):
def task_commit(self, v):
bsp = v.get_data("bsp-commits")
- if (not bsp):
- return
-
with html("table", {"border":"1"}):
with html("tr"):
- html("th").print("BSP")
+ if (bsp):
+ html("th").print("BSP")
html("th").print("upstream")
with html("tr"):
- with html("td"):
- self.task_commit_bsp(bsp)
+ if (bsp):
+ with html("td"):
+ self.task_commit_bsp(bsp)
with html("td"):
self.task_commit_upstream(v)