Skip to content

Commit

Permalink
user 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 05bd87c commit 8cdb990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/PlonePAS/plugins/ufactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def getProperty(self, id, default=_marker):
for sheet in self.getOrderedPropertySheets():
if sheet.hasProperty(id):
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 8cdb990

Please sign in to comment.