mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
_check_manifest_requirements: raise error for "packaging_format" check
This commit is contained in:
parent
57c36a668d
commit
cf2e7e1295
1 changed files with 2 additions and 6 deletions
|
@ -2480,12 +2480,8 @@ def _check_manifest_requirements(
|
|||
logger.debug(m18n.n("app_requirements_checking", app=app_id))
|
||||
|
||||
# Packaging format
|
||||
yield (
|
||||
"packaging_format",
|
||||
manifest["packaging_format"] in (1, 2),
|
||||
{},
|
||||
"app_packaging_format_not_supported", # i18n: app_packaging_format_not_supported
|
||||
)
|
||||
if manifest["packaging_format"] not in [1, 2]:
|
||||
raise YunohostValidationError("app_packaging_format_not_supported")
|
||||
|
||||
# Yunohost version
|
||||
required_yunohost_version = manifest["integration"].get("yunohost", "4.3").strip(">= ")
|
||||
|
|
Loading…
Add table
Reference in a new issue