summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-19 00:55:11 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-19 00:55:11 (GMT)
commit43a7ee1f3b478e4b2220bb5217c70d1b08e9d344 (patch)
tree2ebcccef321a1a8ddcbac33197d7c9fb746eb15e /Lib/shutil.py
parente197df06fb466cbeda5d3117b29fe2705ad43aa5 (diff)
downloadcpython-43a7ee1f3b478e4b2220bb5217c70d1b08e9d344.zip
cpython-43a7ee1f3b478e4b2220bb5217c70d1b08e9d344.tar.gz
cpython-43a7ee1f3b478e4b2220bb5217c70d1b08e9d344.tar.bz2
Make logging call lazy
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index d2e2dc5..7789cec 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -398,7 +398,7 @@ def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
if not os.path.exists(archive_dir):
if logger is not None:
- logger.info("creating %s" % archive_dir)
+ logger.info("creating %s", archive_dir)
if not dry_run:
os.makedirs(archive_dir)