X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/d45e92bd0b51ca73268f677ecc9b9f65aa26cbe1..a5e74d07c813bd39e77a5d3253dda1f19768f892:/src/sc_suwi?ds=sidebyside diff --git a/src/sc_suwi b/src/sc_suwi index f35090d..a6b23bc 100755 --- a/src/sc_suwi +++ b/src/sc_suwi @@ -21,6 +21,10 @@ import cgitb; cgitb.enable() #XXX HORRIBLE PASSWD = conf.get('general', 'cgipw') +def cmp_correccion_padron(e1, e2): + 'Compara 2 entregas, según el padrón del alumno.' + return cmp(e1.inscripto.padron, e2.inscripto.padron) + def http_header_html(req): return 'Content-type: text/html\r\n\r\n' @@ -303,7 +307,9 @@ def correcciones(req, entrega_id): r = '