The format has been changed and there is no longer a file that needs to
be cleaned up.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
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)