diff options
Diffstat (limited to 'repoze/bfg/testing.py')
| -rw-r--r-- | repoze/bfg/testing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/testing.py b/repoze/bfg/testing.py index 99d3c5e8d..1c9dad9e0 100644 --- a/repoze/bfg/testing.py +++ b/repoze/bfg/testing.py @@ -131,7 +131,7 @@ def registerViewPermission(name, result=True, viewpermission=None, Note that view permissions are not checked unless a security policy is in effect (see ``registerSecurityPolicy``). - **This function was deprecated in repoze.bfg 1.2.** + **This function was deprecated in repoze.bfg 1.1.** """ from repoze.bfg.security import Allowed from repoze.bfg.security import Denied @@ -147,7 +147,7 @@ def registerViewPermission(name, result=True, viewpermission=None, deprecated('registerViewPermission', 'registerViewPermission has been deprecated. As of repoze.bfg ' - 'version 1.2, view functions are now responsible for protecting ' + 'version 1.1, view functions are now responsible for protecting ' 'their own execution. A call to this function wont prevent a ' 'view from being executed by the repoze.bfg router, nor ' 'will the ``repoze.bfg.security.view_execution_permitted`` function ' |
