X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/56b48df0e8dedb8021b217cafb2a56ce583edab2..8c7925a328c452c08004c3797c4bfe602390c46e:/sercom/model.py?ds=sidebyside diff --git a/sercom/model.py b/sercom/model.py index 1909de6..2a7f472 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -281,8 +281,6 @@ class Tarea(InheritableSQLObject): #{{{ nombre = UnicodeCol(length=30, alternateID=True) # Campos descripcion = UnicodeCol(length=255, default=None) - terminar_si_falla = BoolCol(notNone=True, default=True) - rechazar_si_falla = BoolCol(notNone=True, default=True) # Joins enunciados = RelatedJoin('Enunciado', addRemoveName='_enunciado') @@ -405,7 +403,7 @@ class ComandoPrueba(Comando): #{{{ pk = DatabaseIndex(tarea, orden, unique=True) def __repr__(self): - return super(ComandoFuente, self).__repr__('tarea=%s, orden=%s' + return super(ComandoPrueba, self).__repr__('tarea=%s, orden=%s' % (self.tarea.shortrepr(), self.orden)) def shortrepr(self): @@ -832,7 +830,7 @@ class ComandoFuenteEjecutado(ComandoEjecutado): #{{{ self.entrega.shortrepr())) def shortrepr(self): - return '%s-%s' % (self.tarea.shortrepr(), self.entrega.shortrepr()) + return '%s-%s' % (self.comando.shortrepr(), self.entrega.shortrepr()) #}}} class ComandoPruebaEjecutado(ComandoEjecutado): #{{{