X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/7a20432786bc102f1378926a0dd2a1e45159bb6b..8c7925a328c452c08004c3797c4bfe602390c46e:/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): #{{{