summaryrefslogtreecommitdiff
path: root/src/python/importer.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-12-21 08:02:40 -0800
committerNathan Binkert <nate@binkert.org>2010-12-21 08:02:40 -0800
commitc24f1df343172174fbdeda5a983fa0a5791de8aa (patch)
treec1e87e5129c3460e5cc10ae65825b643bc5fdda3 /src/python/importer.py
parenta7d9e5c9e07521e13b41a35bc4d0ac74059345d3 (diff)
downloadgem5-c24f1df343172174fbdeda5a983fa0a5791de8aa.tar.xz
importer: fix error message
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)