Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Refs #674
  • Loading branch information
ale-rt committed Oct 28, 2019
1 parent b26ba32 commit 987e1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OFS/Traversable.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def unrestrictedTraverse(self, path, default=_marker, restricted=False):
return self

if isinstance(path, str):
# Unicode paths are not allowed
# unicode paths in Py2 and bytes paths in Py3 are not allowed
path = path.split('/')
else:
path = list(path)
Expand Down

0 comments on commit 987e1b7

Please sign in to comment.