Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 113e70e

Browse files
committed
Patch from Joe Van Andel: fix arg to % operator in warning.
1 parent a0ca3f2 commit 113e70e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/distutils/command/build_py.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def check_package (self, package, package_dir):
160160

161161
def check_module (self, module, module_file):
162162
if not os.path.isfile (module_file):
163-
self.warn ("file %s (for module %s) not found" %
164-
module_file, module)
163+
self.warn ("file %s (for module %s) not found" %
164+
(module_file, module))
165165
return 0
166166
else:
167167
return 1

0 commit comments

Comments
 (0)