forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: do not suppress useful backtrace information

This commit is contained in:
Sebastien Bourdeauducq 2018-03-22 17:11:21 +08:00
parent f2cc2a5ff2
commit eeedcfbdd7
1 changed files with 36 additions and 39 deletions

View File

@ -327,7 +327,6 @@ def main():
atexit.register(lambda: os.unlink(bin_filename))
return bin_filename
try:
for action in args.action:
if action == "gateware":
gateware_bin = convert_gateware(
@ -365,8 +364,6 @@ def main():
programmer.start()
else:
raise ValueError("invalid action", action)
except FileNotFoundError as e:
raise SystemExit(e)
if args.dry_run:
print("\n".join(programmer.script()))