projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d9e5c
)
importer: fix error message
author
Nathan Binkert
<nate@binkert.org>
Tue, 21 Dec 2010 16:02:40 +0000
(08:02 -0800)
committer
Nathan Binkert
<nate@binkert.org>
Tue, 21 Dec 2010 16:02:40 +0000
(08:02 -0800)
src/python/importer.py
patch
|
blob
|
history
diff --git
a/src/python/importer.py
b/src/python/importer.py
index 4e364873f15d9da796458746b62bcd0742a73048..90fbae8b4bada546454b4c904531146596d7bfee 100644
(file)
--- 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)