mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 00:35:25 +01:00
Silence pylint errors.
This commit is contained in:
parent
b120a39ec6
commit
9950b07204
3 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ class Distfile():
|
|||
|
||||
def decompress(self):
|
||||
"""Decompresses the distfile."""
|
||||
compression = self.out_file.split('.')[-1]
|
||||
compression = self.out_file.rsplit('.', maxsplit=1)[-1]
|
||||
decompress_func = {
|
||||
"gz": gzip.open,
|
||||
"tgz": gzip.open,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue