server/__init__.py
branchstable
changeset 2903 043c8fcb3819
parent 2766 07e47b84acc2
child 2907 e222fac3cca3
--- a/server/__init__.py	Tue Aug 18 08:53:03 2009 +0200
+++ b/server/__init__.py	Tue Aug 18 11:11:59 2009 +0200
@@ -227,7 +227,7 @@
     for path in reversed(paths):
         mhandler.exec_event_script('pre%s' % event, path)
     # enter instance'schema into the database
-    serialize_schema(mhandler.rqlcursor, schema)
+    serialize_schema(mhandler.session, schema)
     # execute cubicweb's post<event> script
     mhandler.exec_event_script('post%s' % event)
     # execute cubes'post<event> script if any