Ñò +°Ic@s-dZddklZddkTd„ZdS(sÎ Utilities to restrict access based on predicates. .. deprecated:: 1.0.4 This module won't be available in :mod:`repoze.what` v2. See :meth:`repoze.what.predicates.Predicate.check_authorization`. iÿÿÿÿ(twarn(t*cCs;d}t|tddƒ|dj o|i|ƒndS(sð Verify if the current user really can access the requested source. :param predicate: The predicate to be evaluated. :param environ: The WSGI environment. :raise NotAuthorizedError: If it the predicate is not met. .. deprecated:: 1.0.4 Use :meth:`repoze.what.predicates.Predicate.check_authorization` instead. .. versionchanged:: 1.0.4 :class:`repoze.what.predicates.PredicateError` used to be the exception raised. s…repoze.what.authorize is deprecated for forward compatibility with repoze.what v2; use Predicate.check_authorization(environ) insteadt stackleveliN(RtDeprecationWarningtNonetcheck_authorization(t predicatetenvirontmsg((s9/usr/lib/python2.6/site-packages/repoze/what/authorize.pyR s N(t__doc__twarningsRtrepoze.what.predicatesR(((s9/usr/lib/python2.6/site-packages/repoze/what/authorize.pyts