From c24f1df343172174fbdeda5a983fa0a5791de8aa Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 21 Dec 2010 08:02:40 -0800 Subject: importer: fix error message --- src/python/importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3