X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/7a20432786bc102f1378926a0dd2a1e45159bb6b..6cca1806c88f675940161b6b452301532badc78c:/sercom/model.py diff --git a/sercom/model.py b/sercom/model.py index 6bc5435..2a7f472 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -403,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): @@ -830,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): #{{{