# HG changeset patch # User Alexandre Fayolle # Date 1255418273 -7200 # Node ID 633b8971c95a33543ae389f57e5cfd830e015436 # Parent 012da21e43fe00c18e712e8a23d343a426046f99 fixed cut and pasted docstring diff -r 012da21e43fe -r 633b8971c95a __init__.py --- a/__init__.py Tue Oct 13 07:31:51 2009 +0200 +++ b/__init__.py Tue Oct 13 09:17:53 2009 +0200 @@ -101,9 +101,9 @@ return self.decorate_rset(rset) def empty_rset(self): - """return a result set for the given eid without doing actual query - (we have the eid, we can suppose it exists and user has access to the - entity) + """return an empty result set. This is used e.g. to substitute + to a real result set if the user doesn't have permission to + access the results of a query. """ from cubicweb.rset import ResultSet return self.decorate_rset(ResultSet([], 'Any X WHERE X eid -1'))