From 109cdbe5dc3718c75d8c6fdcee300f1ae6662c27 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 19 Jul 2015 20:07:10 +0300 Subject: [PATCH] Fix self --- slpkg/installed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/installed.py b/slpkg/installed.py index 0b28fb1f..67018566 100644 --- a/slpkg/installed.py +++ b/slpkg/installed.py @@ -39,9 +39,9 @@ class GetFromInstalled(object): def version(self): """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: name = split_package(find[0])[0] if self.package == name: - return _meta_.sp + split_package(find[0])[1] + return self.meta.sp + split_package(find[0])[1] return ""