Formatting...
authorThierry Florac <tflorac@ulthar.net>
Wed, 15 Jul 2020 11:52:09 +0200
changeset 165 9268824f88fc
parent 164 f8a993110511
child 166 f4a5148d4068
Formatting...
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: