diff options
Diffstat (limited to 'src/python/m5/proxy.py')
-rw-r--r-- | src/python/m5/proxy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/m5/proxy.py b/src/python/m5/proxy.py index 5be50481c..36995397b 100644 --- a/src/python/m5/proxy.py +++ b/src/python/m5/proxy.py @@ -41,7 +41,8 @@ class BaseProxy(object): def __setattr__(self, attr, value): if not attr.startswith('_'): - raise AttributeError, 'cannot set attribute on proxy object' + raise AttributeError, \ + "cannot set attribute '%s' on proxy object" % attr super(BaseProxy, self).__setattr__(attr, value) # support multiplying proxies by constants |