X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/46efc3a84d19545f396bac742bef4bff4b12fbac..4e0c67cab6a67e4264be594342286ec8f2a5f838:/sercom/model.py diff --git a/sercom/model.py b/sercom/model.py index 0ccb1a2..4efdc63 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -41,8 +41,7 @@ class TupleValidator(PickleValidator): class SOTupleCol(SOPickleCol): def createValidators(self): - return [TupleValidator(name=self.name)] \ - + super(SOPickleCol, self).createValidators() + return [TupleValidator(name=self.name)] class TupleCol(PickleCol): baseClass = SOTupleCol @@ -79,8 +78,7 @@ class ParamsValidator(UnicodeStringValidator): class SOParamsCol(SOUnicodeCol): def createValidators(self): - return [ParamsValidator(db_encoding=self.dbEncoding, name=self.name)] \ - + super(SOParamsCol, self).createValidators() + return [ParamsValidator(db_encoding=self.dbEncoding, name=self.name)] class ParamsCol(UnicodeCol): baseClass = SOParamsCol @@ -362,7 +360,7 @@ class TareaPrueba(Tarea): #{{{ % (self.id, self.nombre, self.descripcion) #}}} -class Comando(SQLObject): #{{{ +class Comando(InheritableSQLObject): #{{{ # Campos comando = ParamsCol(length=255, notNone=True) descripcion = UnicodeCol(length=255, default=None)