[controle_tresorier3] Noms non imprimables
darcs-hash:20111026210534-ddb99-4194aaac9ffe73bfa45f7bf39064d0b2582666d1.gz
This commit is contained in:
parent
c19637cdc5
commit
a63dac4c56
1 changed files with 8 additions and 3 deletions
|
@ -69,9 +69,14 @@ if __name__ == "__main__":
|
||||||
if 'c' in adh.controle():
|
if 'c' in adh.controle():
|
||||||
newcontr = newcontr.replace('c', '')
|
newcontr = newcontr.replace('c', '')
|
||||||
|
|
||||||
print coul(" * %s (aid=%s) : %s +%s -> %s" % (adh.Nom(), adh.id(),
|
try:
|
||||||
adh.controle(), contr, (newcontr if newcontr else '[rien]')),
|
print coul(" * %s (aid=%s) : %s +%s -> %s" % (adh.Nom(),
|
||||||
'bleu')
|
adh.id(), adh.controle(), contr, (newcontr if newcontr else
|
||||||
|
'[rien]')), 'bleu')
|
||||||
|
except:
|
||||||
|
print coul(" * [Nom non imprimable] (aid=%s) : %s +%s -> %s" %
|
||||||
|
(adh.id(), adh.controle(), contr, (newcontr if newcontr
|
||||||
|
else '[rien]')), 'bleu')
|
||||||
|
|
||||||
# Si la carte n'est pas notée, on le fait
|
# Si la carte n'est pas notée, on le fait
|
||||||
if ann_scol not in adh.carteEtudiant() and 'c' in contr:
|
if ann_scol not in adh.carteEtudiant() and 'c' in contr:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue