projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff3e6b
)
Params: Fix a broken error message in verifyIp.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 20 Dec 2010 09:20:58 +0000
(
04:20
-0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 20 Dec 2010 09:20:58 +0000
(
04:20
-0500)
src/python/m5/params.py
patch
|
blob
|
history
diff --git
a/src/python/m5/params.py
b/src/python/m5/params.py
index 3f5ceb75a47f664ef9351cd57a75ee5baac7cbd8..0093a411d6bfd8bd3fc703e55750d406eae317a0 100644
(file)
--- a/
src/python/m5/params.py
+++ b/
src/python/m5/params.py
@@
-701,7
+701,7
@@
class IpAddress(ParamValue):
def verifyIp(self):
if self.ip < 0 or self.ip >= (1 << 32):
- raise TypeError, "invalid ip address %#08x" % ip
+ raise TypeError, "invalid ip address %#08x" %
self.
ip
def getValue(self):
from m5.internal.params import IpAddress