The dist command now returns an archive object instead of copying it to
a specific place.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
log.info("Generated diff:\n%s" % self.diff)
# Generate a new source package
- return await asyncio.to_thread(p.dist, makefile, target)
+ return await asyncio.to_thread(p.dist, makefile)
# If we could not create a new source package, this is okay and we will continue
# without. However, we will log the exception...
except Exception as e:
log.error("Could not create source package for %s" % self, exc_info=True)
- return None
+ # Re-raise the exception
+ raise e
# Store the Pakfire log
finally: