# HG changeset patch # User Sylvain Thénault # Date 1257864363 -3600 # Node ID 5b6eb3d6bf7cf837fc5fe5a9f591b003601cbeab # Parent 8d0b5de8002b693e397936c4e22032d683f790e1 Backed out changeset 8d0b5de8002b diff -r 8d0b5de8002b -r 5b6eb3d6bf7c entities/authobjs.py --- a/entities/authobjs.py Tue Nov 03 13:52:25 2009 +0100 +++ b/entities/authobjs.py Tue Nov 10 15:46:03 2009 +0100 @@ -114,11 +114,9 @@ kwargs['x'] = contexteid cachekey = 'x' try: - self.req.execute(rql, kwargs, cachekey) + return self.req.execute(rql, kwargs, cachekey) except Unauthorized: return False - else: - return True # presentation utilities ##################################################