summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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)