doc: _scripts: boards: fix for boards without revisions
Commit 38b8790
introduced a pretty bad regression for boards without
revisions. Fix by correctly checking for actually undefined revisions
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
729f50e9d5
commit
3c2d2a6ee5
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ def gather_board_build_info(twister_out_dir):
|
||||||
revision = board_info.get('revision', '')
|
revision = board_info.get('revision', '')
|
||||||
|
|
||||||
board_target = board_name
|
board_target = board_name
|
||||||
if revision is not None:
|
if revision != '':
|
||||||
board_target = f"{board_target}@{revision}"
|
board_target = f"{board_target}@{revision}"
|
||||||
if qualifier:
|
if qualifier:
|
||||||
board_target = f"{board_target}/{qualifier}"
|
board_target = f"{board_target}/{qualifier}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue