From d05e023dfe1c6c985ff63464b090f810e412454f Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Fri, 19 Nov 2021 07:18:37 -0500 Subject: [PATCH] ubuntutools: don't sys.exit if unpack fails, just log it --- ubuntutools/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntutools/archive.py b/ubuntutools/archive.py index 0ad2658..bd9cfcf 100644 --- a/ubuntutools/archive.py +++ b/ubuntutools/archive.py @@ -492,7 +492,7 @@ class SourcePackage(ABC): stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if result.returncode != 0: Logger.error('Source unpack failed.') - sys.exit(1) + Logger.debug(result.stdout) def debdiff(self, newpkg, diffstat=False): """Write a debdiff comparing this src pkg to a newer one.