Commit 0df9c1fc authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5e098489
...@@ -236,6 +236,7 @@ class tDB: ...@@ -236,6 +236,7 @@ class tDB:
assert 0 == subprocess.call(["mountpoint", "-q", testmntpt]) assert 0 == subprocess.call(["mountpoint", "-q", testmntpt])
subprocess.check_call(["fusermount", "-u", testmntpt]) subprocess.check_call(["fusermount", "-u", testmntpt])
# XXX errctx "wait wcfs exit"
wg = sync.WorkGroup(timeout()) wg = sync.WorkGroup(timeout())
def _(ctx): def _(ctx):
while 1: while 1:
...@@ -1970,6 +1971,7 @@ def _xdefer(f): ...@@ -1970,6 +1971,7 @@ def _xdefer(f):
try: try:
f() f()
except: except:
if exc_type is not None:
traceback.print_exception(exc_type, exc_value, exc_traceback) traceback.print_exception(exc_type, exc_value, exc_traceback)
raise raise
_defer(_) _defer(_)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment