merge stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 29 Sep 2009 10:39:02 +0200
branchstable
changeset 3509 711cff0a83dd
parent 3507 ff945c7013d9 (current diff)
parent 3508 d9915224f9a5 (diff)
child 3519 e3ce9db1133c
merge
--- a/server/hooks.py	Tue Sep 29 09:22:14 2009 +0200
+++ b/server/hooks.py	Tue Sep 29 10:39:02 2009 +0200
@@ -568,7 +568,7 @@
 def before_add_in_state(session, eidfrom, rtype, eidto):
     """check state apply, in case of direct in_state change using unsafe_execute
     """
-    nocheck = session.transaction_data.setdefault('skip-security', ())
+    nocheck = session.transaction_data.setdefault('skip-security', set())
     if (eidfrom, 'in_state', eidto) in nocheck:
         # state changed through TrInfo insertion, so we already know it's ok
         return