Skip to content

Commit

Permalink
fix type issue with tarfile preset
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
  • Loading branch information
arthurzam committed Jul 1, 2024
1 parent 1d60404 commit 548f53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycargoebuild/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def repack_crates(tar_out: tarfile.TarFile,
mode="w:xz",
format=tarfile.GNU_FORMAT,
encoding="UTF-8",
preset=9 | lzma.PRESET_EXTREME,
preset=9 | lzma.PRESET_EXTREME, # type: ignore
) as tar_out: # type: ignore
os.fchmod(cratef.fileno(), 0o666 & ~umask)
logging.info("Repacking crates ...")
Expand Down

0 comments on commit 548f53e

Please sign in to comment.