Simplification de la gestion des locks
darcs-hash:20060205001749-d1718-baa4a950acc03b2f775e45ad219315aa5d12b8d4.gz
This commit is contained in:
parent
677a651b0e
commit
8f9671adbd
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue