diff --git a/src/python/importer.py b/src/python/importer.py index 4e364873f1..90fbae8b4b 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)