From: Leandro Lucarella Date: Fri, 9 Mar 2007 17:57:43 +0000 (+0000) Subject: Bugfix: arreglar validadores personalizados de SQLObject. X-Git-Tag: 0_9~106 X-Git-Url: https://git.llucax.com/software/sercom.git/commitdiff_plain/4e0c67cab6a67e4264be594342286ec8f2a5f838?ds=inline Bugfix: arreglar validadores personalizados de SQLObject. --- diff --git a/sercom/model.py b/sercom/model.py index 688fbb0..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