mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Make logging call lazy
This commit is contained in:
parent
e197df06fb
commit
43a7ee1f3b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue