Debug (temporaire)
darcs-hash:20050304071339-d1718-972ce10bafb3e804f580e4723ca1166bc5c51d39.gz
This commit is contained in:
parent
9ae7da34fe
commit
ef05652581
2 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,7 @@ def wait_lock(lock_name, lock_comment='', d=None):
|
|||
# On est en mode synchrone
|
||||
return defer.succeed(None)
|
||||
# On appelle le callback car on est en mode asynchrone
|
||||
print "We got the lock, in asynchronous mode"
|
||||
d.callback(None)
|
||||
except AssertionError:
|
||||
# On a pas le lock
|
||||
|
|
|
@ -213,6 +213,9 @@ class UpdateFactory(protocol.ServerFactory):
|
|||
return d
|
||||
|
||||
def getSAD_script(self, getre, delre, host):
|
||||
# debug
|
||||
for line in file("/var/lock/gestion/gen_confs.wifi"):
|
||||
print "lock pour %s : %s" % (host, line)
|
||||
# ETAPE 3
|
||||
# On fait le reste du boulot et on retourne le script à exécuter
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue