From 5f6ce5613912722e9ade449fcc21024eb8041aed Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Sun, 17 Oct 2010 17:09:04 +0200 Subject: [PATCH] [gestion/annuaires_pg] typo darcs-hash:20101017150904-bd074-53274bfad026c4ff7c80a817c057e42c2b763ed5.gz --- gestion/annuaires_pg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/annuaires_pg.py b/gestion/annuaires_pg.py index ec8b6951..3aa4e298 100755 --- a/gestion/annuaires_pg.py +++ b/gestion/annuaires_pg.py @@ -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)