mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
Fix: UnboundLocalError: local variable 'packages' referenced before assignment
This commit is contained in:
parent
6fc26a3825
commit
169f088052
1 changed files with 1 additions and 0 deletions
|
@ -514,6 +514,7 @@ class PackageManager(object):
|
||||||
def list_lib(self, repo):
|
def list_lib(self, repo):
|
||||||
"""Return package lists
|
"""Return package lists
|
||||||
"""
|
"""
|
||||||
|
packages = ""
|
||||||
if repo == "sbo":
|
if repo == "sbo":
|
||||||
if (os.path.isfile(
|
if (os.path.isfile(
|
||||||
self.meta.lib_path + "{0}_repo/SLACKBUILDS.TXT".format(
|
self.meta.lib_path + "{0}_repo/SLACKBUILDS.TXT".format(
|
||||||
|
|
Loading…
Reference in a new issue