diff --git a/gestion/lock.py b/gestion/lock.py index 039a7f59..e08d6798 100755 --- a/gestion/lock.py +++ b/gestion/lock.py @@ -22,6 +22,8 @@ def wait_lock(lock_name, lock_comment='', d=None): try: try: make_lock(lock_name, lock_comment, nowait=1, quiet=True) + except AssertionError: + raise except: print "*** Probleme lors de l'obtention du lock..." import traceback