Revert "Fix a potential issue in ioucon."

This reverts commit 08cb3de683.
This commit is contained in:
grossmj committed 2014-05-20 10:28:59 -06:00
1 parent 08cb3de683
commit 77b845a17f
1 file changed
+2 -5
+2 -5
View File
@@ -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