Skip to content

Commit 3b2a73f

Browse files
Use lazy string formatting in logging statement in setup.py (#20886)
1 parent ab7b118 commit 3b2a73f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ def _set_manifest_path(manifest_dir: str, aggregate: bool = False, mapping: Mapp
110110
assert os.path.exists(manifest_path)
111111
# avoid error: setup script specifies an absolute path
112112
manifest_path = os.path.relpath(manifest_path, _PATH_ROOT)
113-
logging.info("Set manifest path to", manifest_path)
113+
# Use lazy logging formatting
114+
logging.info("Set manifest path to %s", manifest_path)
114115
setuptools.command.egg_info.manifest_maker.template = manifest_path
115116
yield
116117
# cleanup

0 commit comments

Comments
 (0)