mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
artiq_devtool: fix an infinite loop on network error.
This commit is contained in:
parent
924ae73000
commit
218046d96c
@ -153,6 +153,7 @@ def main():
|
||||
.open_channel('direct-tcpip', (args.ip, port), peer_addr)
|
||||
except Exception as e:
|
||||
logger.exception("Cannot open channel on port %s", port)
|
||||
continue
|
||||
while True:
|
||||
try:
|
||||
r, w, x = select.select([local_stream, remote_stream], [], [])
|
||||
|
Loading…
Reference in New Issue
Block a user