From: Leandro Lucarella Date: Wed, 14 Mar 2007 19:47:54 +0000 (+0000) Subject: Bugfix: ComandoPrueba.add_comando() ponía mal el comando. X-Git-Tag: 0_9_0~127 X-Git-Url: https://git.llucax.com/software/sercom.git/commitdiff_plain/9fdaef310788cfc8ba5893424bccbb7287f7003c?ds=inline Bugfix: ComandoPrueba.add_comando() ponía mal el comando. --- diff --git a/sercom/model.py b/sercom/model.py index f26a720..3442a19 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -312,8 +312,8 @@ class TareaPrueba(Tarea): #{{{ # Joins comandos = MultipleJoin('ComandoPrueba', joinColumn='tarea_id') - def add_comando(self, orden, **kw): - return ComandoPrueba(tarea=self, orden=orden, comando='', **kw) + def add_comando(self, orden, comando='', **kw): + return ComandoPrueba(tarea=self, orden=orden, comando=comando, **kw) def remove_comando(self, orden): ComandoPrueba.pk.get(self.id, orden).destroySelf()