mirror of https://github.com/m-labs/artiq.git
style
This commit is contained in:
parent
251aed047f
commit
c3cdce9d02
|
@ -132,7 +132,7 @@ def run(with_file=False):
|
||||||
except CompileError as error:
|
except CompileError as error:
|
||||||
return
|
return
|
||||||
except Exception as exn:
|
except Exception as exn:
|
||||||
if hasattr(exn, 'artiq_core_exception'):
|
if hasattr(exn, "artiq_core_exception"):
|
||||||
print(exn.artiq_core_exception, file=sys.stderr)
|
print(exn.artiq_core_exception, file=sys.stderr)
|
||||||
raise exn
|
raise exn
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue