Proxies should report that they are read-only
svn: r15457
This commit is contained in:
parent
4ac224430f
commit
cdeb47ad3b
@ -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']:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user