Casting to str is not necessary

This commit is contained in:
Dave Halter
2017-12-26 15:32:25 +01:00
parent e925661aff
commit 8a82a5237d

View File

@@ -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),