Casting to str is not necessary
This commit is contained in:
1 parent
e925661aff
commit
8a82a5237d
1 file changed
-1
@@ -299,7 +299,6 @@ class CompiledObjectFilter(AbstractFilter):
|
||||
self._is_instance = is_instance
|
||||
|
||||
def get(self, name):
|
||||
name = str(name)
|
||||
return self._get(
|
||||
name,
|
||||
lambda: self._compiled_object.access_handle.is_allowed_getattr(name),
|
||||
|
||||
Reference in new issue
Block a user