Skip to content

Commit

Permalink
Merge 69662cb into e4d5085
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathas-Conceicao committed Jun 5, 2021
2 parents e4d5085 + 69662cb commit adfa62d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.5, 3.6, 3.7, 3.8]
python: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 8 additions & 0 deletions uhu/core/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
'test': 'xz -t %s',
'cmd': "xz -l %s --robot | tail -n 1 | awk '{ print $5}'"
},
# LZMA format: http://tukaani.org/xz/xz-file-format.txt
'lzma': {
'signature': b'\x5d\x00\x00',
'test': 'xz -t --format=lzma %s',
# Since lzma compression doen't add uncompressed size
# information to the header to set the field to 0
'cmd': "ls %s | echo 0"
},
}


Expand Down

0 comments on commit adfa62d

Please sign in to comment.