branch | stable |
changeset 3792 | 8d0b5de8002b |
parent 1977 | 606923dff11b |
child 3813 | 5b6eb3d6bf7c |
--- a/entities/authobjs.py Tue Nov 03 11:19:10 2009 +0100 +++ b/entities/authobjs.py Tue Nov 03 13:52:25 2009 +0100 @@ -114,9 +114,11 @@ kwargs['x'] = contexteid cachekey = 'x' try: - return self.req.execute(rql, kwargs, cachekey) + self.req.execute(rql, kwargs, cachekey) except Unauthorized: return False + else: + return True # presentation utilities ##################################################