Attention is currently required from: osmith.
fixeria has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41420?usp=email )
Change subject: testenv: wait_for_port: add --protocol=sctp ......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File _testenv/data/scripts/wait_for_port.py:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41420/comment/32e337df_36a1b... : PS1, Line 33: if "sctp" not in sys.modules: : print("python module sctp is not installed, sleeping 3s instead...") : time.sleep(3) : Can you just use `try-catch` here instead? ```suggestion try: import sctp except ImportError: print("python module sctp is not installed, sleeping 3s instead...") time.sleep(3) return ```