commit | 43a7ee1f3b478e4b2220bb5217c70d1b08e9d344 | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Fri Aug 19 02:55:11 2011 +0200 |
committer | Éric Araujo <merwok@netwok.org> | Fri Aug 19 02:55:11 2011 +0200 |
tree | 2ebcccef321a1a8ddcbac33197d7c9fb746eb15e | |
parent | e197df06fb466cbeda5d3117b29fe2705ad43aa5 [diff] |
Make logging call lazy
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 @@ 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)