forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -1418,13 +1418,14 @@ def get_formsemestre_etudids_sans_notes(
|
|||||||
)
|
)
|
||||||
if not nb_notes_sem:
|
if not nb_notes_sem:
|
||||||
return set()
|
return set()
|
||||||
etudids_sans_notes = set.intersection(
|
notes_modimpls = [
|
||||||
*[
|
|
||||||
set.intersection(*m_res.evals_etudids_sans_note.values())
|
set.intersection(*m_res.evals_etudids_sans_note.values())
|
||||||
for m_res in res.modimpls_results.values()
|
for m_res in res.modimpls_results.values()
|
||||||
if m_res.evals_etudids_sans_note
|
if m_res.evals_etudids_sans_note
|
||||||
]
|
]
|
||||||
)
|
if not notes_modimpls:
|
||||||
|
return set()
|
||||||
|
etudids_sans_notes = set.intersection(*notes_modimpls)
|
||||||
nb_sans_notes = len(etudids_sans_notes)
|
nb_sans_notes = len(etudids_sans_notes)
|
||||||
if nb_sans_notes > 0 and nb_sans_notes < len(
|
if nb_sans_notes > 0 and nb_sans_notes < len(
|
||||||
formsemestre.get_inscrits(include_demdef=False)
|
formsemestre.get_inscrits(include_demdef=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user