[munin/batiments] Ajout batiment G
darcs-hash:20090930232332-ddb99-53f96b46d71885dd9e769cb57b78cf25718006ef.gz
This commit is contained in:
parent
4c06da4096
commit
858c064613
1 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ if arg == "config" :
|
||||||
print 'batb.draw STACK'
|
print 'batb.draw STACK'
|
||||||
print 'batc.label Bâtiment C'
|
print 'batc.label Bâtiment C'
|
||||||
print 'batc.draw STACK'
|
print 'batc.draw STACK'
|
||||||
|
print 'batg.label Bâtiment G'
|
||||||
|
print 'batg.draw STACK'
|
||||||
print 'bath.label Bâtiment H'
|
print 'bath.label Bâtiment H'
|
||||||
print 'bath.draw STACK'
|
print 'bath.draw STACK'
|
||||||
print 'bati.label Bâtiment I'
|
print 'bati.label Bâtiment I'
|
||||||
|
@ -46,7 +48,7 @@ elif arg == "fichier" :
|
||||||
return len(data['adherent']) + len(data['club'])
|
return len(data['adherent']) + len(data['club'])
|
||||||
|
|
||||||
total = 0
|
total = 0
|
||||||
for bat in 'abchijmp' :
|
for bat in 'abcghijmp' :
|
||||||
nb = count('paiement=ok&chbre=%s*' % bat)
|
nb = count('paiement=ok&chbre=%s*' % bat)
|
||||||
total += nb
|
total += nb
|
||||||
file.write("bat%s.value %d\n" % (bat, nb))
|
file.write("bat%s.value %d\n" % (bat, nb))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue