mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Update class
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
94ec376912
commit
77ba2cf63a
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ class GetFromInstalled:
|
||||||
"""
|
"""
|
||||||
if self.find:
|
if self.find:
|
||||||
return split_package(self.find)[1]
|
return split_package(self.find)[1]
|
||||||
return ""
|
return self.find
|
||||||
|
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return installed package name
|
"""Return installed package name
|
||||||
"""
|
"""
|
||||||
if self.find:
|
if self.find:
|
||||||
return self.package
|
return self.package
|
||||||
return ""
|
return self.find
|
||||||
|
|
Loading…
Reference in a new issue