Make sure we don't fail when loading the non-data-using release-mgmt template.

This commit is contained in:
Simon Quigley 2020-05-16 23:57:07 -05:00
parent 050cf6cb12
commit bf8edaaf9d

View File

@ -131,7 +131,7 @@ class Generator:
template += text
template = Template(template)
if data is not None:
if data is not None and job_type != "release-mgmt":
url = data["packaging_url"]
u_branch = data["packaging_branch_unstable"]
s_branch = data["packaging_branch_stable"]