Skip to content

Commit

Permalink
fix another case where properties are text in py3
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer authored and jensens committed Sep 14, 2018
1 parent 30f9640 commit 605c3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/PlonePAS/tools/memberdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def getProperty(self, id, default=_marker):
if sheet.hasProperty(id):
# Return the first one that has the property.
value = sheet.getProperty(id)
if isinstance(value, six.text_type):
if six.PY2 and isinstance(value, six.text_type):
# XXX Temporarily work around the fact that
# property sheets blindly store and return
# unicode. This is sub-optimal and should be
Expand Down

0 comments on commit 605c3ab

Please sign in to comment.