mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
version was not defined...
This commit is contained in:
parent
42bc8c354a
commit
c721aaf258
1 changed files with 1 additions and 0 deletions
|
@ -2331,6 +2331,7 @@ def _check_manifest_requirements(manifest, app_instance_name):
|
||||||
# Iterate over requirements
|
# Iterate over requirements
|
||||||
for pkgname, spec in requirements.items():
|
for pkgname, spec in requirements.items():
|
||||||
if not packages.meets_version_specifier(pkgname, spec):
|
if not packages.meets_version_specifier(pkgname, spec):
|
||||||
|
version = packages.ynh_packages_version()[pkgname]["version"]
|
||||||
raise YunohostError('app_requirements_unmeet',
|
raise YunohostError('app_requirements_unmeet',
|
||||||
pkgname=pkgname, version=version,
|
pkgname=pkgname, version=version,
|
||||||
spec=spec, app=app_instance_name)
|
spec=spec, app=app_instance_name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue