Commit b99b2094 authored by Paweł Szostek's avatar Paweł Szostek

Tweak __main__ option check to be more compact

parent cd9477b6
...@@ -141,12 +141,9 @@ use 0 for current version""", metavar="ISE") ...@@ -141,12 +141,9 @@ use 0 for current version""", metavar="ISE")
getattr(kernel, function)() getattr(kernel, function)()
sth_chosen = True sth_chosen = True
except Exception,e : except Exception,e :
p.print_version()
print e print e
if not sth_chosen: if not sth_chosen:
p.rawprint("No option selected. Running automatic flow")
p.rawprint("To see some help, type hdlmake --help")
kernel.run() kernel.run()
if __name__ == "__main__": if __name__ == "__main__":
......
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