diff --git a/patoolib/__init__.py b/patoolib/__init__.py index 9008448..9f2fab7 100644 --- a/patoolib/__init__.py +++ b/patoolib/__init__.py @@ -435,7 +435,7 @@ def _handle_archive (archive, command, *args, **kwargs): if command == 'extract': if do_cleanup_outdir: target, msg = cleanup_outdir(cmd_kwargs["outdir"]) - print "%s: extracted to %s" % (archive, msg) + util.log_info("%s extracted to %s" % (archive, msg)) else: target, msg = cmd_kwargs["outdir"], "`%s'" % cmd_kwargs["outdir"] return target