entities/authobjs.py
branchstable
changeset 3813 5b6eb3d6bf7c
parent 3792 8d0b5de8002b
child 3890 d7a270f50f54
child 4212 ab6573088b4a
--- 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 ##################################################