diff options
author | Kevin Hilman <khilman@baylibre.com> | 2018-10-15 11:09:40 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-10-15 11:09:46 +0200 |
commit | ad3c3cdcf14b66807937415699c0b7797640e577 (patch) | |
tree | 830d9d0b680f7811b811e9993d253688ed5f0ab7 /utils | |
parent | 7e5d6f70e793ed11c1c1562f5ff552ee30c17840 (diff) |
agljobtemplate: fix UnboundLocalError for build_verson_default
Change-Id: If8c422f8da34d6ab3474200095aff1f8cb7923d0
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/agljobtemplate.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 = '' |