From 5fbd64ffbcf2259aed83351dcf00ee47a75ff931 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 7 Apr 2005 00:32:51 +0000 Subject: [PATCH] Se ordenan las entregas rechazadas. --- src/sc_suwi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sc_suwi b/src/sc_suwi index e4de31d..fe505a6 100755 --- a/src/sc_suwi +++ b/src/sc_suwi @@ -371,8 +371,10 @@ def correcciones(req, entrega_id): r += correccion_footer() inscriptos_ok = set([c.inscripto for c in correcciones]) inscriptos = set([i.inscripto for i in e.intentos]) + rechazados = list(inscriptos - inscriptos_ok) + rechazados.sort(lambda x, y: cmp(x.padron, y.padron)) r += rechazado_header() - for i in inscriptos - inscriptos_ok: + for i in rechazados: r += rechazado_row(i, e) r += rechazado_footer() r += footer() -- 2.43.0