[gestion/annuaires_pg] typo
darcs-hash:20101017150904-bd074-53274bfad026c4ff7c80a817c057e42c2b763ed5.gz
This commit is contained in:
parent
674d5ecbcc
commit
5f6ce56139
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def chbre_prises(batiment, chambre = None):
|
|||
try:
|
||||
return "%03d" % cur.fetchone()[0]
|
||||
except TypeError:
|
||||
raise ValueError("Prise inexistante")
|
||||
raise ValueError("Chambre inexistante")
|
||||
else:
|
||||
cur = conn.cursor()
|
||||
cur.execute("SELECT chambre, prise_crans FROM prises WHERE batiment = %s", batiment)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue