mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Revert "Fix a potential issue in ioucon."
This reverts commit 08cb3de683.
This commit is contained in:
1 parent
08cb3de683
commit
77b845a17f
1 file changed
+2
-5
@@ -411,11 +411,8 @@ class IOU(Router):
|
||||
log.debug("Waiting to connect to {}".format(self.ttyS))
|
||||
time.sleep(RETRY_DELAY)
|
||||
except Exception as e:
|
||||
if e.errno == 111: # connection refused
|
||||
log.debug("Waiting to connect to {}".format(self.ttyS))
|
||||
time.sleep(RETRY_DELAY)
|
||||
else:
|
||||
raise NetioError("Couldn't connect to socket {}: {}".format(self.ttyS, e))
|
||||
raise NetioError("Couldn't connect to socket {}: {}"
|
||||
.format(self.ttyS, e))
|
||||
else:
|
||||
break
|
||||
|
||||
|
||||
Reference in new issue
Block a user