Remove a piece of unimportant code, see discussion in #1933

This commit is contained in:
Dave Halter
2023-07-28 10:15:28 +02:00
parent 1947e7dd56
commit 048173e467

View File

@@ -443,9 +443,6 @@ class CompiledValueFilter(AbstractFilter):
"""
To remove quite a few access calls we introduced the callback here.
"""
if self._inference_state.allow_descriptor_getattr:
pass
has_attribute, is_descriptor = allowed_getattr_callback(
name,
safe=not self._inference_state.allow_descriptor_getattr