Suppression de l'optimisation, c'est p'tet un peu dangereux.
darcs-hash:20060206160159-d1718-7a9d0e9a18ef5b5e5e5e3ea5462f9f8ae788e717.gz
This commit is contained in:
parent
61f8526827
commit
b2607f41c7
1 changed files with 0 additions and 2 deletions
|
@ -54,7 +54,6 @@ def make_lock(lock_name, lock_comment='',nowait=0, quiet=False) :
|
|||
""" Création d'un lock
|
||||
si nowait=1 fait un sys.exit(254) quand un ancien lock actif est rencontré
|
||||
"""
|
||||
return
|
||||
lock_dir = '/var/lock/gestion'
|
||||
try:
|
||||
os.mkdir(lock_dir)
|
||||
|
@ -157,7 +156,6 @@ def make_lock(lock_name, lock_comment='',nowait=0, quiet=False) :
|
|||
|
||||
def remove_lock( lock_name ) :
|
||||
""" Destruction du lock """
|
||||
return
|
||||
# On créé une zone d'exclusion
|
||||
lock_dir = '/var/lock/gestion'
|
||||
lock_file = "%s/%s" % (lock_dir, lock_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue