forked from ScoDoc/DocScoDoc
pylint
This commit is contained in:
parent
276a21ec49
commit
626d70e72c
@ -325,7 +325,7 @@ def do_formsemestre_archive(
|
|||||||
if data:
|
if data:
|
||||||
PVArchive.store(archive_id, "Decisions_Jury.xls", data)
|
PVArchive.store(archive_id, "Decisions_Jury.xls", data)
|
||||||
# Classeur bulletins (PDF)
|
# 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
|
context, formsemestre_id, REQUEST, version=bulVersion
|
||||||
)
|
)
|
||||||
if data:
|
if data:
|
||||||
@ -548,7 +548,7 @@ def formsemestre_delete_archive(
|
|||||||
raise AccessDenied(
|
raise AccessDenied(
|
||||||
"opération non autorisée pour %s" % str(REQUEST.AUTHENTICATED_USER)
|
"opération non autorisée pour %s" % str(REQUEST.AUTHENTICATED_USER)
|
||||||
)
|
)
|
||||||
sem = sco_formsemestre.get_formsemestre(
|
_ = sco_formsemestre.get_formsemestre(
|
||||||
context, formsemestre_id
|
context, formsemestre_id
|
||||||
) # check formsemestre_id
|
) # check formsemestre_id
|
||||||
archive_id = PVArchive.get_id_from_name(context, formsemestre_id, archive_name)
|
archive_id = PVArchive.get_id_from_name(context, formsemestre_id, archive_name)
|
||||||
|
@ -416,7 +416,7 @@ def make_formsemestre_recapcomplet(
|
|||||||
l.append(fmtnum(scu.fmt_note(t[0], keep_numeric=keep_numeric))) # moy_gen
|
l.append(fmtnum(scu.fmt_note(t[0], keep_numeric=keep_numeric))) # moy_gen
|
||||||
# Ajoute rangs dans groupes seulement si CSV ou XLS
|
# Ajoute rangs dans groupes seulement si CSV ou XLS
|
||||||
if format[:3] == "xls" or format == "csv":
|
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
|
context, etudid, formsemestre_id, partitions, partitions_etud_groups, nt
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user