summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2017-11-07 15:06:49 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-02-02 14:24:19 +0100
commitb18c3454b16a4b01155daaaa54c6663cf9498121 (patch)
tree163321a6f781d4c6074a50345331b29ea63f78eb /lavalab-gen.py
parente93a8b174964a1cff91bfe3da8560ae3bdc41a8e (diff)
Place board under boardlist
We need to add some information to lab node, so we need to move all boards under a list("boardlist")
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index 379f6b9..6c1cb0f 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -52,8 +52,8 @@ def main(args):
for lab_name in labs:
lab = labs[lab_name]
- for board_name in lab:
- b = lab[board_name]
+ for board_name in lab["boardlist"]:
+ b = lab["boardlist"][board_name]
if b.get("disabled", None):
continue