summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-04-07 09:41:42 +0200
committerCorentin LABBE <clabbe@baylibre.com>2020-04-07 09:42:53 +0200
commit1c87098009079841cc54f534b18470ac951159ff (patch)
tree391804c257b6ce6b90a8bbfabedda2bffbeaaac1 /utils/agljobtemplate.py
parentc716b864564ea3b461039639765e6404b9c5c96c (diff)
Add initial machine_branch declaration
CI fail with: UnboundLocalError: local variable 'machine_branch' referenced before assignment (See https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIBT-qemuarm/568/console) This patch add an initial declaration for it Change-Id: I7fa7b836e1546f65cf6678c8527698208fc5581a Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index deb5ff8..b3763dd 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -182,6 +182,7 @@ class Agljobtemplate(object):
job['urlbase'] = url
job['test_templates'] = test_templates
+ machine_branch = None
if vcs_commit is not None:
job['vcs_commit'] = vcs_commit