From 79493755c54089de6d48fc85260010e7bf3b85c8 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 10 Nov 2010 19:50:59 +0100 Subject: [PATCH] Use util.log_info to print extraction info message. --- patoolib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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