From: Michael Tremer Date: Wed, 16 Aug 2023 16:15:13 +0000 (+0000) Subject: daemon: Do not attempt to delete configuration X-Git-Tag: 0.9.29~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89a99cc88a8a3607b8daf2a1d5ef03243a704644;p=pakfire.git daemon: Do not attempt to delete configuration The format has been changed and there is no longer a file that needs to be cleaned up. Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/daemon.py b/src/pakfire/daemon.py index 3438e0300..9c34bc60d 100644 --- a/src/pakfire/daemon.py +++ b/src/pakfire/daemon.py @@ -328,11 +328,7 @@ class Worker(multiprocessing.Process): def _build(self, pkg, arch=None, logger=None, **kwargs): # Setup Pakfire instance - try: - p = _pakfire.Pakfire(arch=arch, conf=self.pakfire_conf, logger=logger) - finally: - # Delete the configuration file - os.unlink(self.pakfire_conf) + p = _pakfire.Pakfire(arch=arch, conf=self.pakfire_conf, logger=logger) # Run the build return p.build(pkg, **kwargs)