changeset f71f9634d809 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=f71f9634d809
description:
        importer: fix error message

diffstat:

 src/python/importer.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 318eca813e2b -r f71f9634d809 src/python/importer.py
--- a/src/python/importer.py    Tue Dec 21 08:02:39 2010 -0800
+++ b/src/python/importer.py    Tue Dec 21 08:02:40 2010 -0800
@@ -35,7 +35,7 @@
 
     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)
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to