author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 10 Nov 2009 15:46:34 +0100 | |
branch | stable |
changeset 3814 | a4659adf4eee |
parent 3812 | d37d7105e15f (current diff) |
parent 3813 | 5b6eb3d6bf7c (diff) |
child 3815 | 50b87f759b5d |
child 3816 | 37b376bb4088 |
--- a/entities/authobjs.py Tue Nov 10 10:48:22 2009 +0100 +++ b/entities/authobjs.py Tue Nov 10 15:46:34 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 ##################################################