[annuaires] bat_manuels pour la compatibilité inverse

darcs-hash:20100901131025-ffbb2-edf6a61358c13e5e4da810e97499f63029a4ebff.gz
This commit is contained in:
Nicolas Dandrimont 2010-09-01 15:10:25 +02:00
parent 94cfa47873
commit b3dd9a4ce2

View file

@ -10,6 +10,8 @@ cur = conn.cursor()
cur.execute("SELECT DISTINCT batiment FROM prises")
bat_switchs = [i[0] for i in cur.fetchall()]
bat_manuels = []
def chbre_prises(batiment, chambre = None):
"""Correspondance chambre -> prise"""