Ne pas afficher de traceback quand on a une AssertionError
darcs-hash:20050322073412-d1718-98cf6c1a5cac77c0bf7872c1d278903db4c44fb1.gz
This commit is contained in:
parent
05a8c7ae09
commit
05863023ea
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue