mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-06 14:51:27 +00:00
Slightly clean that up.
This commit is contained in:
parent
bf8edaaf9d
commit
5fb09fda6d
@ -131,13 +131,13 @@ class Generator:
|
|||||||
template += text
|
template += text
|
||||||
template = Template(template)
|
template = Template(template)
|
||||||
|
|
||||||
if data is not None and job_type != "release-mgmt":
|
if data is not None:
|
||||||
url = data["packaging_url"]
|
url = data["packaging_url"]
|
||||||
u_branch = data["packaging_branch_unstable"]
|
u_branch = data["packaging_branch_unstable"]
|
||||||
s_branch = data["packaging_branch_stable"]
|
s_branch = data["packaging_branch_stable"]
|
||||||
u_upload_target = data["upload_target_unstable"]
|
u_upload_target = data["upload_target_unstable"]
|
||||||
s_upload_target = data["upload_target_stable"]
|
s_upload_target = data["upload_target_stable"]
|
||||||
else:
|
elif job_type != "release-mgmt":
|
||||||
raise AttributeError("Data cannot be empty, cannot parse job data.")
|
raise AttributeError("Data cannot be empty, cannot parse job data.")
|
||||||
|
|
||||||
if job_type.startswith("package"):
|
if job_type.startswith("package"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user