From: Michael Tremer Date: Sat, 13 Mar 2021 19:04:47 +0000 (+0000) Subject: base: Cache path cannot be set any more X-Git-Tag: 0.9.28~1285^2~525 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d1a66fdabfae57b7bae09525a5bfc013f7f29fe;p=pakfire.git base: Cache path cannot be set any more Signed-off-by: Michael Tremer --- 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