Silence pylint errors.

This commit is contained in:
Andrius Štikonas 2024-10-25 18:14:06 +01:00
parent b120a39ec6
commit 9950b07204
3 changed files with 3 additions and 3 deletions

View file

@ -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,