Use util.log_info to print extraction info message.

This commit is contained in:
Bastian Kleineidam 2010-11-10 19:50:59 +01:00
parent 895197e120
commit 79493755c5
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ def _handle_archive (archive, command, *args, **kwargs):
if command == 'extract': if command == 'extract':
if do_cleanup_outdir: if do_cleanup_outdir:
target, msg = cleanup_outdir(cmd_kwargs["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: else:
target, msg = cmd_kwargs["outdir"], "`%s'" % cmd_kwargs["outdir"] target, msg = cmd_kwargs["outdir"], "`%s'" % cmd_kwargs["outdir"]
return target return target