server/session.py
branchstable
changeset 5130 929984f017e6
parent 5108 8495d580a580
child 5174 78438ad513ca
child 5193 c9671feff5e2
--- a/server/session.py	Thu Apr 01 10:36:56 2010 +0200
+++ b/server/session.py	Thu Apr 01 11:48:18 2010 +0200
@@ -896,7 +896,8 @@
     # deprecated ###############################################################
 
     @deprecated("[3.7] execute is now unsafe by default in hooks/operation. You"
-                " can also control security with session.[read|write]_security")
+                " can also control security with the security_enabled context "
+                "manager")
     def unsafe_execute(self, rql, kwargs=None, eid_key=None, build_descr=True,
                        propagate=False):
         """like .execute but with security checking disabled (this method is