Fix wrong locktype in attribute all check. Resolve #2392.
This commit is contained in:
parent
11da873424
commit
800a157ef1
1 changed files with 1 additions and 1 deletions
|
|
@ -1224,7 +1224,7 @@ class AttributeHandler:
|
||||||
return [
|
return [
|
||||||
attr
|
attr
|
||||||
for attr in attrs
|
for attr in attrs
|
||||||
if attr.access(accessing_obj, self._attredit, default=default_access)
|
if attr.access(accessing_obj, self._attrread, default=default_access)
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
return attrs
|
return attrs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue