mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] pkg is None, can't continue loop
This commit is contained in:
parent
f20ef340dc
commit
70e08ed40f
1 changed files with 2 additions and 0 deletions
|
@ -414,6 +414,8 @@ def get_installed_version(*pkgnames, **kwargs):
|
|||
if strict:
|
||||
raise UnknownPackage(pkgname)
|
||||
logger.warning(m18n.n('package_unknown', pkgname=pkgname))
|
||||
continue
|
||||
|
||||
try:
|
||||
version = pkg.installed.version
|
||||
except AttributeError:
|
||||
|
|
Loading…
Add table
Reference in a new issue