[Zope3-Users] a question about zope.app.security.principallogging.PrincipalLogging

Shailesh Kumar shaileshk at gmail.com
Wed Aug 8 12:14:24 EDT 2007


Hi,

zope.app.security.principallogging.PrincipalLogging looks like:

class PrincipalLogging(object):

    implements(ILoggingInfo)

    def __init__(self, principal):
        self.principal = principal

    def getLogMessage(self):
        return str(self.principal.id)


It requires that self.principal.id cannot be a UNICODE string (cannot
contain non-ascii characters).

Is this intentional???

With regards,
-Shailesh


More information about the Zope3-users mailing list