From cdeb47ad3bbe169dac47d395f188261980e329e9 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 23 May 2010 14:55:20 +0000 Subject: [PATCH] Proxies should report that they are read-only svn: r15457 --- src/gen/proxy/proxybase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gen/proxy/proxybase.py b/src/gen/proxy/proxybase.py index 0a7e188d0..30e8d68bb 100644 --- a/src/gen/proxy/proxybase.py +++ b/src/gen/proxy/proxybase.py @@ -312,6 +312,8 @@ class ProxyDbBase(DbReadBase): def __getattr__(self, name): """ Handle unknown attribute lookups """ + if name == "readonly": + return True sname = name.split('_') if sname[:2] == ['get', 'unfiltered']: """