mem: Add support for multi-channel DRAM configurations
[gem5.git] / src / python / importer.py
index 4e364873f15d9da796458746b62bcd0742a73048..90fbae8b4bada546454b4c904531146596d7bfee 100644 (file)
@@ -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)