X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/f7393e0e6363d1c56d579a9fe86c99f9a45bb4bf..f5a725465226d47f914425b2c1a814c4c27ee9a3:/sercom/model.py diff --git a/sercom/model.py b/sercom/model.py index 688fbb0..4f349ce 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 @@ -412,10 +410,10 @@ class ComandoPrueba(Comando): #{{{ def __repr__(self): return 'ComandoPrueba(tarea=%s, orden=%s, comando=%s, descripcion=%s, ' \ - 'retorno=%s, tiempo_cpu=%s, terminar_si_falla=%s, ' \ + 'retorno=%s, multipl_tiempo_cpu=%s, terminar_si_falla=%s, ' \ 'rechazar_si_falla=%s)' \ % (srepr(self.tarea), self.orden, self.comando, self.descripcion, - self.retorno, self.tiempo_cpu, self.terminar_si_falla, + self.retorno, self.multipl_tiempo_cpu, self.terminar_si_falla, self.rechazar_si_falla) #}}}