diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-08-31 07:22:29 (GMT) |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-08-31 07:22:29 (GMT) |
| commit | dd917f84e3775596049e09746f32053c50b3d422 (patch) | |
| tree | 5b59a563c228493069bcf00e166fba7cea8ebfef /Lib/distutils/command/sdist.py | |
| parent | ee47e5cf8ad0e52e2c5291662b9b15c2ba8848ea (diff) | |
| download | cpython-dd917f84e3775596049e09746f32053c50b3d422.zip cpython-dd917f84e3775596049e09746f32053c50b3d422.tar.gz cpython-dd917f84e3775596049e09746f32053c50b3d422.tar.bz2 | |
Closes #27904: Improved logging statements to defer formatting until needed.
Diffstat (limited to 'Lib/distutils/command/sdist.py')
| -rw-r--r-- | Lib/distutils/command/sdist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index f1b8d91..4fd1d47 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -412,7 +412,7 @@ class sdist(Command): log.info(msg) for file in files: if not os.path.isfile(file): - log.warn("'%s' not a regular file -- skipping" % file) + log.warn("'%s' not a regular file -- skipping", file) else: dest = os.path.join(base_dir, file) self.copy_file(file, dest, link=link) |
