mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-08 07:21:30 +00:00
ubuntutools: don't sys.exit if unpack fails, just log it
This commit is contained in:
parent
de295fe524
commit
d05e023dfe
@ -492,7 +492,7 @@ class SourcePackage(ABC):
|
|||||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
if result.returncode != 0:
|
if result.returncode != 0:
|
||||||
Logger.error('Source unpack failed.')
|
Logger.error('Source unpack failed.')
|
||||||
sys.exit(1)
|
Logger.debug(result.stdout)
|
||||||
|
|
||||||
def debdiff(self, newpkg, diffstat=False):
|
def debdiff(self, newpkg, diffstat=False):
|
||||||
"""Write a debdiff comparing this src pkg to a newer one.
|
"""Write a debdiff comparing this src pkg to a newer one.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user