diff options
author | Nathan Binkert <nate@binkert.org> | 2010-12-21 08:02:40 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-12-21 08:02:40 -0800 |
commit | c24f1df343172174fbdeda5a983fa0a5791de8aa (patch) | |
tree | c1e87e5129c3460e5cc10ae65825b643bc5fdda3 | |
parent | a7d9e5c9e07521e13b41a35bc4d0ac74059345d3 (diff) | |
download | gem5-c24f1df343172174fbdeda5a983fa0a5791de8aa.tar.xz |
importer: fix error message
-rw-r--r-- | src/python/importer.py | 2 |
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) |