2
0
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:
whitequark 2017-03-03 10:39:35 +00:00
parent 924ae73000
commit 218046d96c

View File

@ -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], [], [])