Python 2 still sucks.
This commit is contained in:
1 parent
19aa50bb7f
commit
b8a1f6da55
1 file changed
+1
-1
@@ -397,7 +397,7 @@ class CompiledObjectFilter(AbstractFilter):
|
|||||||
def get(self, name):
|
def get(self, name):
|
||||||
return self._get(
|
return self._get(
|
||||||
name,
|
name,
|
||||||
lambda: self.compiled_object.access_handle.is_allowed_getattr(name),
|
lambda: self.compiled_object.access_handle.is_allowed_getattr(force_unicode(name)),
|
||||||
lambda: self.compiled_object.access_handle.dir(),
|
lambda: self.compiled_object.access_handle.dir(),
|
||||||
check_has_attribute=True
|
check_has_attribute=True
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user