From 1d1a66fdabfae57b7bae09525a5bfc013f7f29fe Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 13 Mar 2021 19:04:47 +0000 Subject: [PATCH] base: Cache path cannot be set any more Signed-off-by: Michael Tremer --- src/pakfire/base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pakfire/base.py b/src/pakfire/base.py index 22032db78..e2a34b2b5 100644 --- a/src/pakfire/base.py +++ b/src/pakfire/base.py @@ -40,7 +40,7 @@ from .i18n import _ class Pakfire(_pakfire.Pakfire): __version__ = PAKFIRE_VERSION - def __init__(self, path="/", config=None, arch=None, distro=None, cache_path=None, offline=False): + def __init__(self, path="/", config=None, arch=None, distro=None, offline=False): _pakfire.Pakfire.__init__(self, path, arch) # Initialise logging system @@ -62,9 +62,6 @@ class Pakfire(_pakfire.Pakfire): # Load configuration self.config = config or Config("general.conf") - self.cache_path = cache_path or \ - os.path.join(CACHE_DIR, self.distro.sname, self.distro.release) - self.repos = repository.Repositories(self) # Load default repository configuration -- 2.47.2