X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/77714aa49a1acb8e4670aac7c50d1eab943beba5..9a300bd78c09c4212613ecccbc4ee7363ef16b92:/sercom/model.py?ds=sidebyside diff --git a/sercom/model.py b/sercom/model.py index ca1553e..41c4ced 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -783,6 +783,10 @@ class Entrega(Ejecucion): #{{{ # FIXME self.id, caso_de_prueba Prueba.pk.get(self.id, caso_de_prueba).destroySelf() + def make_correccion(self, corrector, **kw): + return Correccion(instancia=self.instancia, entregador=self.entregador, + entrega=self, corrector=corrector, **kw) + def __repr__(self): return super(Entrega, self).__repr__('instancia=%s, entregador=%s, ' 'fecha=%s' % (self.instancia.shortrepr(), srepr(self.entregador),