Ne pas afficher de traceback quand on a une AssertionError

darcs-hash:20050322073412-d1718-98cf6c1a5cac77c0bf7872c1d278903db4c44fb1.gz
This commit is contained in:
bernat 2005-03-22 08:34:12 +01:00
parent 05a8c7ae09
commit 05863023ea

View file

@ -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