From: Gabe Black Date: Mon, 20 Dec 2010 09:20:58 +0000 (-0500) Subject: Params: Fix a broken error message in verifyIp. X-Git-Tag: stable_2012_02_02~698 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89850d6370b29272788cb73165341ced68e3bd53;p=gem5.git Params: Fix a broken error message in verifyIp. --- 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