Proxies should report that they are read-only

svn: r15457
This commit is contained in:
Doug Blank 2010-05-23 14:55:20 +00:00
parent 4ac224430f
commit cdeb47ad3b

View File

@ -312,6 +312,8 @@ class ProxyDbBase(DbReadBase):
def __getattr__(self, name): def __getattr__(self, name):
""" Handle unknown attribute lookups """ """ Handle unknown attribute lookups """
if name == "readonly":
return True
sname = name.split('_') sname = name.split('_')
if sname[:2] == ['get', 'unfiltered']: if sname[:2] == ['get', 'unfiltered']:
""" """