Fix for passing functional memory param to timing mem.
authorSteve Reinhardt <stever@eecs.umich.edu>
Mon, 18 Jul 2005 23:58:43 +0000 (19:58 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Mon, 18 Jul 2005 23:58:43 +0000 (19:58 -0400)
python/m5/config.py:
    Fix error message.

--HG--
extra : convert_revision : 4e57f7bdd4ea7dfdd3e88c60080f993997b0bda2

python/m5/config.py

index 754b185257a7cc077977ebf0ab202ced508dd4b4..a281feccc6a95d271ec1a497180e0e5441db2edd 100644 (file)
@@ -405,7 +405,7 @@ class SimObject(object):
                 if found_obj != None and child != found_obj:
                     raise AttributeError, \
                           'parent.any matched more than one: %s %s' % \
-                          (obj.path, child.path)
+                          (found_obj.path, child.path)
                 found_obj = child
         # search param space
         for pname,pdesc in self._params.iteritems():