From 169f0880525627214881ab0594d733742a4866ad Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 14 Jul 2016 16:42:11 +0300 Subject: [PATCH] Fix: UnboundLocalError: local variable 'packages' referenced before assignment --- slpkg/pkg/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slpkg/pkg/manager.py b/slpkg/pkg/manager.py index 53ae1128..a017e1fc 100644 --- a/slpkg/pkg/manager.py +++ b/slpkg/pkg/manager.py @@ -514,6 +514,7 @@ class PackageManager(object): def list_lib(self, repo): """Return package lists """ + packages = "" if repo == "sbo": if (os.path.isfile( self.meta.lib_path + "{0}_repo/SLACKBUILDS.TXT".format(