From ad3c3cdcf14b66807937415699c0b7797640e577 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Mon, 15 Oct 2018 11:09:40 +0200 Subject: agljobtemplate: fix UnboundLocalError for build_verson_default Change-Id: If8c422f8da34d6ab3474200095aff1f8cb7923d0 Signed-off-by: Kevin Hilman --- utils/agljobtemplate.py | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/agljobtemplate.py') diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index 099e823..8597fee 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -104,6 +104,7 @@ class Agljobtemplate(object): defaults, infra = parse_cfg_file(self._template_path, 'default.cfg', build_type) # If the user doesn't specify an URL, use the default one from the build-type + build_version_default = None if url is None: if infra == 'AGL': url_base = '' -- cgit 1.2.3-korg