mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +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:
|
||||
return split_package(self.find)[1]
|
||||
return ""
|
||||
return self.find
|
||||
|
||||
def name(self):
|
||||
"""Return installed package name
|
||||
"""
|
||||
if self.find:
|
||||
return self.package
|
||||
return ""
|
||||
return self.find
|
||||
|
|
Loading…
Reference in a new issue