This adds basic support for debian packages using the xz compression algorithm. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- lib/bpar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bpar.py b/lib/bpar.py index dd37a6c..5e378d3 100644 --- a/lib/bpar.py +++ b/lib/bpar.py @@ -7,9 +7,9 @@ class ExecutionError(ArError): self.error_code = errcode def print_data(input_file, out_file, tree=None): - cmd = ['ar', 'p', input_file, 'data.tar.gz'] + cmd = ['ar', 'p', input_file, 'data.tar.gz', 'data.tar.xz'] process = subprocess.Popen(cmd, - stdout=out_file, stderr=subprocess.STDOUT, + stdout=out_file, close_fds=True, universal_newlines=True, cwd=tree) stdout = process.communicate()[0] process.wait() -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in