wummel / patool

patool is a portable command line archive file manager
http://wummel.github.io/patool/
GNU General Public License v3.0
404 stars 68 forks source link

verbosity not working properly #157

Closed timiion closed 1 month ago

timiion commented 7 months ago

OS: Ubuntu 22.04 Version: 2.2.0

import patoolib
patoolib.extract_archive(archive_path, outdir=output_path, verbosity=-1)

verbosity was set to -1, -1 or lower means no output. But some info log printed, such as below:

INFO patool: running /usr/bin/tar --force-local --help
INFO patool:     with stderr='-3', input=''

Maybe it was caused by https://github.com/wummel/patool/blob/4c43466eb0b8895eb48c3406fa3b6d93a06dfc85/patoolib/programs/tar.py#L66 Add verbosity to it?

wummel commented 1 month ago

A new version 3.0.0 of patool has been released on 25.09.2024. Therefore this bug will be closed. If you think this issue is not solved, please open a new issue.