From 626d70e72ce3537bf04c184029a7f74497b42899 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 16 Feb 2021 15:16:57 +0100 Subject: [PATCH] pylint --- sco_archives.py | 4 ++-- sco_recapcomplet.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sco_archives.py b/sco_archives.py index 987797a0..18d89bfe 100644 --- a/sco_archives.py +++ b/sco_archives.py @@ -325,7 +325,7 @@ def do_formsemestre_archive( if data: PVArchive.store(archive_id, "Decisions_Jury.xls", data) # Classeur bulletins (PDF) - data, filename = sco_bulletins_pdf.get_formsemestre_bulletins_pdf( + data, _ = sco_bulletins_pdf.get_formsemestre_bulletins_pdf( context, formsemestre_id, REQUEST, version=bulVersion ) if data: @@ -548,7 +548,7 @@ def formsemestre_delete_archive( raise AccessDenied( "opération non autorisée pour %s" % str(REQUEST.AUTHENTICATED_USER) ) - sem = sco_formsemestre.get_formsemestre( + _ = sco_formsemestre.get_formsemestre( context, formsemestre_id ) # check formsemestre_id archive_id = PVArchive.get_id_from_name(context, formsemestre_id, archive_name) diff --git a/sco_recapcomplet.py b/sco_recapcomplet.py index 6fb23f74..1edfb54c 100644 --- a/sco_recapcomplet.py +++ b/sco_recapcomplet.py @@ -416,7 +416,7 @@ def make_formsemestre_recapcomplet( l.append(fmtnum(scu.fmt_note(t[0], keep_numeric=keep_numeric))) # moy_gen # Ajoute rangs dans groupes seulement si CSV ou XLS if format[:3] == "xls" or format == "csv": - rang_gr, ninscrits_gr, gr_name = sco_bulletins.get_etud_rangs_groups( + rang_gr, _, gr_name = sco_bulletins.get_etud_rangs_groups( context, etudid, formsemestre_id, partitions, partitions_etud_groups, nt )