summaryrefslogtreecommitdiff
path: root/src/python/importer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/importer.py')
-rw-r--r--src/python/importer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/importer.py b/src/python/importer.py
index 4e364873f..90fbae8b4 100644
--- a/src/python/importer.py
+++ b/src/python/importer.py
@@ -35,7 +35,7 @@ class CodeImporter(object):
def add_module(self, filename, abspath, modpath, code):
if modpath in self.modules:
- raise AttributeError, "%s already found in importer"
+ raise AttributeError, "%s already found in importer" % modpath
self.modules[modpath] = (filename, abspath, code)