From 5d08f50acbce5197f5bd246ce7e80e43627efc76 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 11 Mar 2005 19:05:44 +0000 Subject: [PATCH] =?utf8?q?Bugfix=20en=20Intento.getPruebas*Pasadas()=20que?= =?utf8?q?=20hac=C3=ADa=20que=20devuelva=20true=20si=20no=20compilaba.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/sercom/sqlo.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sercom/sqlo.py b/src/sercom/sqlo.py index 0c0b59d..47069f5 100644 --- a/src/sercom/sqlo.py +++ b/src/sercom/sqlo.py @@ -175,18 +175,20 @@ class Intento(BaseSQLObject): return path.join(self.path, 'chroot') def _get_pruebasPasadas(self): + if not self.compila: return False for p in self.pruebas: - if not p.pasada: - return False + if not p.pasada: return False return True def _get_pruebasPublicasPasadas(self): + if not self.compila: return False for p in self.pruebas: if not p.pasada and not p.casoDePrueba.privado: return False return True def _get_pruebasPrivadasPasadas(self): + if not self.compila: return False for p in self.pruebas: if not p.pasada and p.casoDePrueba.privado: return False -- 2.43.0