diff options
-rwxr-xr-x | scripts/myhtml.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/myhtml.py b/scripts/myhtml.py index e633f65..e46b65e 100755 --- a/scripts/myhtml.py +++ b/scripts/myhtml.py @@ -569,17 +569,21 @@ class periject_html(base.base): def task_commit(self, v): bsp = v.get_data("bsp-commits") + upstream = v.get_data("upstream") + with html("table", {"border":"1"}): with html("tr"): if (bsp): html("th").print("BSP") - html("th").print("upstream") + if (upstream): + html("th").print("upstream") with html("tr"): if (bsp): with html("td"): self.task_commit_bsp(bsp) - with html("td"): - self.task_commit_upstream(v) + if (upstream): + with html("td"): + self.task_commit_upstream(v) #-------------------- # task_comment |