Backed out changeset 8d0b5de8002b stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 10 Nov 2009 15:46:03 +0100
branchstable
changeset 3813 5b6eb3d6bf7c
parent 3792 8d0b5de8002b
child 3814 a4659adf4eee
Backed out changeset 8d0b5de8002b
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 ##################################################