mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Fix self
This commit is contained in:
parent
cb35d17182
commit
109cdbe5dc
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ class GetFromInstalled(object):
|
||||||
def version(self):
|
def version(self):
|
||||||
"""Get version from installed packages
|
"""Get version from installed packages
|
||||||
"""
|
"""
|
||||||
find = find_package(self.package + _meta_.sp, _meta_.pkg_path)
|
find = find_package(self.package + self.meta.sp, _meta_.pkg_path)
|
||||||
if find:
|
if find:
|
||||||
name = split_package(find[0])[0]
|
name = split_package(find[0])[0]
|
||||||
if self.package == name:
|
if self.package == name:
|
||||||
return _meta_.sp + split_package(find[0])[1]
|
return self.meta.sp + split_package(find[0])[1]
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue