From 218046d96c71395a1f3b6eb948e50b7c4f5b2231 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 3 Mar 2017 10:39:35 +0000 Subject: [PATCH] artiq_devtool: fix an infinite loop on network error. --- artiq/frontend/artiq_devtool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/frontend/artiq_devtool.py b/artiq/frontend/artiq_devtool.py index 7b4489c8b..f242ce6e2 100644 --- a/artiq/frontend/artiq_devtool.py +++ b/artiq/frontend/artiq_devtool.py @@ -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], [], [])