From 4e0c67cab6a67e4264be594342286ec8f2a5f838 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 9 Mar 2007 17:57:43 +0000 Subject: [PATCH] Bugfix: arreglar validadores personalizados de SQLObject. --- sercom/model.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.43.0