From 5cf1779a4df258740ec452c55b9f398a261aeb7b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 10 May 2009 15:18:30 +0000 Subject: Less awkward sentence. --- repoze/bfg/view.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/repoze/bfg/view.py b/repoze/bfg/view.py index 0e4e47f5d..924bb35fc 100644 --- a/repoze/bfg/view.py +++ b/repoze/bfg/view.py @@ -18,10 +18,10 @@ _marker = object() def view_execution_permitted(context, request, name=''): """ If the view specified by ``context`` and ``name`` is protected - by a permission, return the result of checking the permission - associated with the view using the effective security policy and - the ``request``. If no security policy is in effect, or if the - view is not protected by a permission, return True. """ + by a permission, check the permission associated with the view + using the effective security policy and the ``request``. Return a + boolean result. If no security policy is in effect, or if the + view is not protected by a permission, return True.""" security_policy = queryUtility(ISecurityPolicy) permission = queryMultiAdapter((context, request), IViewPermission, name=name) -- cgit v1.2.3