changeset 85e1847726e3 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=85e1847726e3
description:
        Params: Fix a broken error message in verifyIp.

diffstat:

 src/python/m5/params.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 998b217dcae7 -r 85e1847726e3 src/python/m5/params.py
--- a/src/python/m5/params.py   Thu Dec 09 14:45:17 2010 -0800
+++ b/src/python/m5/params.py   Mon Dec 20 04:20:58 2010 -0500
@@ -701,7 +701,7 @@
 
     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
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to