[switchs.py] chbres ne contient pas la lettre du bâtiment...
Ignore-this: a2047f32cc43ee6f55c28ec7e0023456 darcs-hash:20110224234237-ffbb2-0733b558b5328eacac6428c6c063ec709a69221f.gz
This commit is contained in:
parent
d5c5de517e
commit
4bd528bd1e
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ exit
|
|||
# Pour chaque chambre sur cette prise
|
||||
for chb in chbres:
|
||||
# On selectionne les eventuels adherents y residant
|
||||
for adherent in self.db.search("chbre=%s" % (chb))['adherent']:
|
||||
for adherent in self.db.search("chbre=%s%s" % (bat, chb))['adherent']:
|
||||
# On selectionne les machines fixes de l'adherent, et on ajoute le nombre au quota
|
||||
nombre_de_machines += len(adherent.machines_fixes())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue