# HG changeset patch # User David Douard # Date 1435929794 -7200 # Node ID 36e48f7ac61a30cc1927fba76f13f09e4314fd58 # Parent 12bc4e92aa628e0be729fb8a9f3975eb057fd471 [predicates] remove deprecated sentences in docstrings diff -r 12bc4e92aa62 -r 36e48f7ac61a predicates.py --- a/predicates.py Fri Jul 03 14:06:57 2015 +0200 +++ b/predicates.py Fri Jul 03 15:23:14 2015 +0200 @@ -1292,8 +1292,6 @@ def no_cnx(cls, req, **kwargs): """Return 1 if the web session has no connection set. This occurs when anonymous access is not allowed and user isn't authenticated. - - May only be used on the web side, not on the data repository side. """ if not req.cnx: return 1 @@ -1303,8 +1301,6 @@ @objectify_predicate def authenticated_user(cls, req, **kwargs): """Return 1 if the user is authenticated (i.e. not the anonymous user). - - May only be used on the web side, not on the data repository side. """ if req.session.anonymous_session: return 0 @@ -1314,8 +1310,6 @@ @objectify_predicate def anonymous_user(cls, req, **kwargs): """Return 1 if the user is not authenticated (i.e. is the anonymous user). - - May only be used on the web side, not on the data repository side. """ if req.session.anonymous_session: return 1