From: Nathan Binkert Date: Tue, 21 Dec 2010 16:02:40 +0000 (-0800) Subject: importer: fix error message X-Git-Tag: stable_2012_02_02~695 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c24f1df343172174fbdeda5a983fa0a5791de8aa;p=gem5.git importer: fix error message --- 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)