--- a/server/__init__.py Tue Feb 18 17:29:34 2014 +0100
+++ b/server/__init__.py Wed Mar 05 10:44:45 2014 +0100
@@ -314,7 +314,7 @@
# so, NO INTEGRITY CHECKS are done, to have quicker db creation.
# Active integrity is kept else we may pb such as two default
# workflows for one entity type.
- with cnx._cnx.deny_all_hooks_but('metadata', 'activeintegrity'):
+ with cnx.deny_all_hooks_but('metadata', 'activeintegrity'):
# execute cubicweb's pre<event> script
mhandler.cmd_exec_event_script('pre%s' % event)
# execute cubes pre<event> script if any