fix incorrect reference to variable 'product_is_layered'
This commit is contained in:
parent
008d80186e
commit
e3e60c75a2
@ -35,7 +35,7 @@ def get_description(compose, variant, arch):
|
|||||||
result = "%s %s for %s %s" % (variant.product_name, variant.product_version, compose.conf["product_name"], get_major_version(compose.conf["product_version"]))
|
result = "%s %s for %s %s" % (variant.product_name, variant.product_version, compose.conf["product_name"], get_major_version(compose.conf["product_version"]))
|
||||||
else:
|
else:
|
||||||
result = "%s %s" % (compose.conf["product_name"], compose.conf["product_version"])
|
result = "%s %s" % (compose.conf["product_name"], compose.conf["product_version"])
|
||||||
if compose.conf.get("is_layered", False):
|
if compose.conf.get("product_is_layered", False):
|
||||||
result += "for %s %s" % (compose.conf["base_product_name"], compose.conf["base_product_version"])
|
result += "for %s %s" % (compose.conf["base_product_name"], compose.conf["base_product_version"])
|
||||||
|
|
||||||
result = result % {"variant_name": variant.name, "arch": arch}
|
result = result % {"variant_name": variant.name, "arch": arch}
|
||||||
|
Loading…
Reference in New Issue
Block a user