hooks/syncschema.py
changeset 9949 e0f1c5697221
parent 9888 5b48dcc02be1
child 9950 3e5addc72575
equal deleted inserted replaced
9948:798ab1216523 9949:e0f1c5697221
   305 
   305 
   306 
   306 
   307 class CWRTypeUpdateOp(MemSchemaOperation):
   307 class CWRTypeUpdateOp(MemSchemaOperation):
   308     """actually update some properties of a relation definition"""
   308     """actually update some properties of a relation definition"""
   309     rschema = entity = values = None # make pylint happy
   309     rschema = entity = values = None # make pylint happy
   310     oldvalus = None
   310     oldvalues = None
   311 
   311 
   312     def precommit_event(self):
   312     def precommit_event(self):
   313         rschema = self.rschema
   313         rschema = self.rschema
   314         if rschema.final:
   314         if rschema.final:
   315             return # watched changes to final relation type are unexpected
   315             return # watched changes to final relation type are unexpected