server/session.py
changeset 5159 2543cfa5d54a
parent 5130 929984f017e6
child 5174 78438ad513ca
child 5193 c9671feff5e2
--- a/server/session.py	Tue Apr 06 18:51:17 2010 +0200
+++ b/server/session.py	Tue Apr 06 19:08:07 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