server/migractions.py
branchstable
changeset 6217 e2aeb40d5983
parent 6208 07b176640a8c
child 6292 054fa36060d5
child 6323 a11c1e3c16c3
--- a/server/migractions.py	Mon Sep 13 10:51:55 2010 +0200
+++ b/server/migractions.py	Mon Sep 13 11:00:22 2010 +0200
@@ -657,7 +657,8 @@
         newcubes_schema = self.config.load_schema(construction_mode='non-strict')
         # XXX we have to replace fs_schema, used in cmd_add_relation_type
         # etc. and fsschema of migration script contexts
-        self.fs_schema = self._create_context()['fsschema'] = newcubes_schema
+        self.fs_schema = newcubes_schema
+        self.update_context('fsschema', self.fs_schema)
         new = set()
         # execute pre-create files
         driver = self.repo.system_source.dbdriver