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