summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-02-02 00:07:14 (GMT)
committerGreg Ward <gward@python.net>2000-02-02 00:07:14 (GMT)
commit113e70efa2b932a3ad2662875114133a1edb600c (patch)
treec794f8551313632d22dc396882046ff6f136b0dd /Lib
parenta0ca3f24f95e286028c2869033a851d358acf975 (diff)
downloadcpython-113e70efa2b932a3ad2662875114133a1edb600c.zip
cpython-113e70efa2b932a3ad2662875114133a1edb600c.tar.gz
cpython-113e70efa2b932a3ad2662875114133a1edb600c.tar.bz2
Patch from Joe Van Andel: fix arg to % operator in warning.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/build_py.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py
index 57ddf7e..048962b 100644
--- a/Lib/distutils/command/build_py.py
+++ b/Lib/distutils/command/build_py.py
@@ -160,8 +160,8 @@ class BuildPy (Command):
def check_module (self, module, module_file):
if not os.path.isfile (module_file):
- self.warn ("file %s (for module %s) not found" %
- module_file, module)
+ self.warn ("file %s (for module %s) not found" %
+ (module_file, module))
return 0
else:
return 1