remove six plus some bbb cleanup

This commit is contained in:
Jens W. Klein
2022-05-01 23:28:00 +02:00
parent 75c6a5dcc1
commit 19571f45ed
7 changed files with 28 additions and 64 deletions
-4
View File
@@ -12,8 +12,6 @@ from Products.CMFCore.interfaces import IContentish
from Products.CMFPlone.utils import safe_unicode
from Products.ZCatalog.interfaces import IZCatalog
import six
MAX_DESCRIPTION = 25
@@ -75,8 +73,6 @@ def creator(object):
if not object.creator:
return
value = safe_unicode(object.creator)
if six.PY2:
return value.encode("utf8")
return value