# HG changeset patch # User Sylvain Thénault # Date 1277965947 -7200 # Node ID 0337e6870de4afe2a861e221705abf8d1d8220c1 # Parent 4e28f03651d4c336f077863f905273ae82660412 [schema migration] fix name error introduced in parent changeset diff -r 4e28f03651d4 -r 0337e6870de4 hooks/syncschema.py --- a/hooks/syncschema.py Thu Jul 01 08:13:03 2010 +0200 +++ b/hooks/syncschema.py Thu Jul 01 08:32:27 2010 +0200 @@ -252,9 +252,9 @@ session = self.session if 'fulltext_container' in self.values: for subjtype, objtype in rschema.rdefs: - hook.set_operation(self._cw, 'fti_update_etypes', subjtype, + hook.set_operation(session, 'fti_update_etypes', subjtype, UpdateFTIndexOp) - hook.set_operation(self._cw, 'fti_update_etypes', objtype, + hook.set_operation(session, 'fti_update_etypes', objtype, UpdateFTIndexOp) if not 'inlined' in self.values: return # nothing to do @@ -522,7 +522,7 @@ sql = adbh.sql_set_null_allowed(table, column, coltype, notnull) session.system_sql(sql) if 'fulltextindexed' in self.values: - hook.set_operation(self._cw, 'fti_update_etypes', etype, + hook.set_operation(session, 'fti_update_etypes', etype, UpdateFTIndexOp)