Joerg Jaspert pushed to branch master at Debian FTP Team / dak
Commits:
-
ed088793
by Joerg Jaspert at 2020-10-22T23:43:09+02:00
1 changed file:
Changes:
... | ... | @@ -359,6 +359,9 @@ def new_stats(logdir, yaml): |
359 | 359 |
# multi-stream files (http://bugs.python.org/issue1625)
|
360 | 360 |
with open(logfile, 'rb') as fh:
|
361 | 361 |
data = daklib.daksubprocess.check_output(['bzcat'], stdin=fh)
|
362 |
+ elif fn.endswith('.xz'):
|
|
363 |
+ with open(logfile, 'rb') as fh:
|
|
364 |
+ data = daklib.daksubprocess.check_output(['xzcat'], stdin=fh)
|
|
362 | 365 |
else:
|
363 | 366 |
with open(logfile, 'r') as fd:
|
364 | 367 |
data = fd.read()
|