diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-12-20 04:20:58 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-12-20 04:20:58 -0500 |
commit | 89850d6370b29272788cb73165341ced68e3bd53 (patch) | |
tree | bc07fe836cf45e44155dd73cee2585dbef42ddc9 /src | |
parent | 2ff3e6b399796a182b3c9cb68f021d1f533356e4 (diff) | |
download | gem5-89850d6370b29272788cb73165341ced68e3bd53.tar.xz |
Params: Fix a broken error message in verifyIp.
Diffstat (limited to 'src')
-rw-r--r-- | src/python/m5/params.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 3f5ceb75a..0093a411d 100644 --- 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 |