fix Defect check in non-strict mode (#170)

This commit is contained in:
Jacek Sieka 2021-03-25 15:53:33 +01:00 committed by GitHub
parent c206d2bc19
commit 075b7abf4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ else:
retFutureSym.fail(exc) retFutureSym.fail(exc)
except Exception as exc: except Exception as exc:
# TODO remove Exception handler to turn on strict mode # TODO remove Exception handler to turn on strict mode
if exc is Defect: if exc of Defect:
raise (ref Defect)(exc) raise (ref Defect)(exc)
futureVarCompletions futureVarCompletions