From a85ad28b709b7f32da00d5f3909a542176bc8f09 Mon Sep 17 00:00:00 2001 From: glondu Date: Thu, 31 Aug 2006 17:36:43 +0200 Subject: [PATCH] Plus besoin de caution pour rajouter une machine fixe. darcs-hash:20060831153643-68412-fcc37b9f79413c3f6599f64037f09ec4fc44b9fb.gz --- gestion/gest_crans.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 75c0e4ee..c4401a7e 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1857,19 +1857,6 @@ def menu_principal(): annul, result = dialog(arg) if annul: continue choix= result[0] - elif not caution_ok: - arg = u'--title "Nouvelle machine" ' - arg += u'--menu " Caution non payée\n\n' - arg += u'Pour pouvoir incrire une machine fixe, il faut avoir ' - arg += u'payé la caution." 0 0 0 ' - arg += u'"OK" "OK, on lui rajoute une machine wifi" ' - arg += u'"Annul" "Bon, on abandonne..." ' - annul, result = dialog(arg) - if annul or result[0] == "Annul": continue - if result[0] == "OK": - choix = 'Wifi' - else: - continue else: # Plus de machine fixe possible... arg = u'--title "Nouvelle machine" '