From fb97702fc46c448e67ce1b0d166a18192191ce7b Mon Sep 17 00:00:00 2001 From: bernat Date: Fri, 25 Mar 2005 23:15:12 +0100 Subject: [PATCH] Encore des problemes de lock... darcs-hash:20050325221512-d1718-c6daa6ce88c1535669b2790729eee01e4a1bf1e7.gz --- gestion/wifi-update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gestion/wifi-update.py b/gestion/wifi-update.py index 55032904..a7456562 100755 --- a/gestion/wifi-update.py +++ b/gestion/wifi-update.py @@ -257,6 +257,9 @@ class UpdateFactory(protocol.ServerFactory): 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) print "We send the following script to %s :" % host print result return result