diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-03-06 10:55:10 +0900 |
---|---|---|
committer | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-04-09 14:59:46 +0900 |
commit | 0afee29de0672e7d8244d65c610aa0a009243c41 (patch) | |
tree | db3280e4b8bed76ab3227bd76ab437d62901f531 /scripts/view.py | |
parent | 191eee1990dbe1b8e6bfcc98fdef7bde655f2538 (diff) |
html: add NoAssignee support
There are no assignee tasks, and html.py will be error at such
tasks. This patch care it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts/view.py')
-rwxr-xr-x | scripts/view.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/view.py b/scripts/view.py index baad0f3..48c6f71 100755 --- a/scripts/view.py +++ b/scripts/view.py @@ -149,7 +149,9 @@ class viewer(base.base): self.text += "Title: {}\n".format(self.get_data("title")) # show assignee - self.text += "Assignee: {}\n".format(self.get_data("assignee")) + assignee = self.get_data("assignee") + if (len(assignee)): + self.text += "Assignee: {}\n".format(assignee) if (self.with_file): self.text += "File: {}\n".format( |