[firewall6] Mais tu m'_entend_ ? + problème de précédence
* list.entend -> list.extend * db.s -> db.search * % est prioritaire sur -, donc "%s" % ann_scol - 1 plante.
This commit is contained in:
parent
7433aaac2a
commit
1d15c0329d
2 changed files with 6 additions and 6 deletions
|
@ -944,8 +944,8 @@ class CransLdap:
|
|||
base = self.search('paiement=%s' % ann_scol)
|
||||
base = base['adherent'] + base['club']
|
||||
if config.periode_transitoire:
|
||||
tmp=self.search('paiement=%s' % ann_scol-1)
|
||||
base.entend(tmp['adherent'] + tmp['club'])
|
||||
tmp=self.search('paiement=%s' % (ann_scol-1))
|
||||
base.extend(tmp['adherent'] + tmp['club'])
|
||||
del tmp
|
||||
base=[a for a in base if a.paiement_ok()]
|
||||
if graphic: a = anim('\tTri des machines', len(base))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue