diff --git a/slpkg/others/check.py b/slpkg/others/check.py index f39acfee..80b2e9c6 100644 --- a/slpkg/others/check.py +++ b/slpkg/others/check.py @@ -230,10 +230,7 @@ class OthersUpgrade(object): ''' Return all installed packages ''' - packages = [] - for pkg in find_package('', pkg_path): - packages.append(pkg) - return packages + return find_package('', pkg_path) def views(pkg_for_upgrade, upgrade_all, comp_sum, repository):