From 9fdaef310788cfc8ba5893424bccbb7287f7003c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 14 Mar 2007 19:47:54 +0000 Subject: [PATCH] =?utf8?q?Bugfix:=20ComandoPrueba.add=5Fcomando()=20pon?= =?utf8?q?=C3=ADa=20mal=20el=20comando.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.43.0