# HG changeset patch # User Thierry Florac # Date 1594806729 -7200 # Node ID 9268824f88fc03489c693335a63ce7525ab60d09 # Parent f8a993110511b630484765624b758d827fc04e1a Formatting... diff -r f8a993110511 -r 9268824f88fc src/pyams_security/utility.py --- a/src/pyams_security/utility.py Fri Jul 03 14:41:01 2020 +0200 +++ b/src/pyams_security/utility.py Wed Jul 15 11:52:09 2020 +0200 @@ -276,11 +276,11 @@ @request_property(key=None) def effective_principals(self, request, context=None): try: - logger.debug(">>> getting principals for principal {0} ({1}) on {2!r}".format(request.principal.title, - request.principal.id, - context or request.context)) + logger.debug(">>> getting principals for principal {0} ({1}) on {2!r}".format( + request.principal.title, request.principal.id, context or request.context)) except AttributeError: - logger.debug(">>> getting principals for request {0} on {1!r}".format(request, context or request.context)) + logger.debug(">>> getting principals for request {0} on {1!r}".format( + request, context or request.context)) principals = {Everyone} principal_id = self.unauthenticated_userid(request) if principal_id: