Skip to content

Commit

Permalink
Allow simple policy for bytes as well as unicode in python 2 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Dick committed Apr 19, 2019
1 parent cf0ffcf commit 56fc8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AccessControl/SimpleObjectPolicies.py
Expand Up @@ -86,7 +86,7 @@
# calling the function with the object and the attribute name.
ContainerAssertions = {
type(()): 1,
type(''): 1,
type(b''): 1,
type(u''): 1,
range: 1,
}
Expand Down

0 comments on commit 56fc8bc

Please sign in to comment.