From ed77ca462a8ba3945e9e5a08db34c5c28844e2ef Mon Sep 17 00:00:00 2001 From: bernat Date: Sat, 26 Mar 2005 09:21:06 +0100 Subject: [PATCH] Faut l'afficher avant qu'il n'y en ait plus. darcs-hash:20050326082106-d1718-afb71d3cc12cb444e3e42f96058d1accd0e787d9.gz --- gestion/wifi-update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gestion/wifi-update.py b/gestion/wifi-update.py index a7456562..ff130a1d 100755 --- a/gestion/wifi-update.py +++ b/gestion/wifi-update.py @@ -255,11 +255,12 @@ class UpdateFactory(protocol.ServerFactory): for f in delre: os.remove(f) - remove_lock('gen_confs.wifi') if len(result) > 5: # debug for line in file("/var/lock/gestion/gen_confs.wifi"): print "lock pour %s: %s" % (host, line) + remove_lock('gen_confs.wifi') + if len(result) > 5: print "We send the following script to %s :" % host print result return result