From e867ee7e64183b9391a68aeea8d1f9b0023d27be Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 9 Dec 2019 22:27:21 +0100 Subject: [PATCH] Fix pkgmgr typo --- usr/lib/python3.6/lxcmgr/pkgmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/python3.6/lxcmgr/pkgmgr.py b/usr/lib/python3.6/lxcmgr/pkgmgr.py index af8bc4c..47d59ba 100644 --- a/usr/lib/python3.6/lxcmgr/pkgmgr.py +++ b/usr/lib/python3.6/lxcmgr/pkgmgr.py @@ -245,7 +245,7 @@ class PkgMgr: def purge_unused_layers(self): # Remove layers which are no longer used by any installed application - layers = set(os.list(LXC_STORAGE_DIR)) + layers = set(os.listdir(LXC_STORAGE_DIR)) for app in self.installed_packages['apps']: for container in self.installed_packages['apps'][app]['containers']: image = self.installed_packages['apps'][app]['containers'][container]['image']