import string
import re
-from types import StringType
from random import randrange
from Acquisition import aq_base
from quopri import encodestring
+from json import dumps as json_dumps
from zope.globalrequest import getRequest
from AccessControl.PermissionRole import rolesForPermissionOn
from AccessControl import ModuleSecurityInfo
security = ModuleSecurityInfo( 'Products.Plinn.utils' )
+security.declarePublic('json_dumps')
+
security.declarePublic('thisObjectComeFromPortalSkin')
def thisObjectComeFromPortalSkin(ob, portal=None):
""" check if ob comes from portal_skins """