summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/modulefinder.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-05-02 13:49:13 (GMT)
committerGuido van Rossum <guido@python.org>2000-05-02 13:49:13 (GMT)
commitce33eb3ee8655f3e403bcae20ffe3aeb924ff40a (patch)
tree125b504b39b5d9f2c94f3b8490a6e538c511c1eb /Tools/freeze/modulefinder.py
parent26af93cf357a74de3fb7174edd7491e1d4c5263d (diff)
downloadcpython-ce33eb3ee8655f3e403bcae20ffe3aeb924ff40a.zip
cpython-ce33eb3ee8655f3e403bcae20ffe3aeb924ff40a.tar.gz
cpython-ce33eb3ee8655f3e403bcae20ffe3aeb924ff40a.tar.bz2
Sjoerd Mullender:
Bad % formatting.
Diffstat (limited to 'Tools/freeze/modulefinder.py')
-rw-r--r--Tools/freeze/modulefinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/modulefinder.py b/Tools/freeze/modulefinder.py
index ddead22..7260614 100644
--- a/Tools/freeze/modulefinder.py
+++ b/Tools/freeze/modulefinder.py
@@ -249,7 +249,7 @@ class ModuleFinder:
elif type == imp.PY_COMPILED:
if fp.read(4) != imp.get_magic():
self.msgout(2, "raise ImportError: Bad magic number", pathname)
- raise ImportError, "Bad magic number in %s", pathname
+ raise ImportError, "Bad magic number in %s" % pathname
fp.read(4)
co = marshal.load(fp)
else: