Skip to content

Commit

Permalink
Merge pull request #167 from ddibiasi/master
Browse files Browse the repository at this point in the history
Respect verbosity for _extract_archive
  • Loading branch information
wummel authored Sep 30, 2024
2 parents 04c16f2 + 30470bc commit c4b3f43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patoolib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,8 @@ def _extract_archive(
msg = f"output path `{outdir}' exists and is not a directory"
raise util.PatoolError(msg)
else:
log.log_info(f"... creating output directory `{outdir}'.")
if verbosity >= 0:
log.log_info(f"... creating output directory `{outdir}'.")
os.makedirs(outdir)
try:
cmdlist = get_archive_cmdlist(
Expand Down

0 comments on commit c4b3f43

Please sign in to comment.