Fix wrong locktype in attribute all check. Resolve #2392.

This commit is contained in:
Griatch 2021-08-06 23:58:13 +02:00
parent 6de53696fe
commit bae45cc2a1

View file

@ -1224,7 +1224,7 @@ class AttributeHandler:
return [
attr
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:
return attrs