[Python-checkins] cpython (3.2): Make logging call lazy
eric.araujo
python-checkins at python.org
Fri Aug 19 14:25:22 CEST 2011
http://hg.python.org/cpython/rev/fe3b346fb09c
changeset: 71934:fe3b346fb09c
branch: 3.2
user: Éric Araujo <merwok at netwok.org>
date: Fri Aug 19 02:55:11 2011 +0200
summary:
Make logging call lazy
files:
Lib/shutil.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -398,7 +398,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list