Show More
@@ -241,8 +241,11 b' def checksocketfamily(name, port=20058):' | |||||
241 | except (socket.error, OSError) as exc: |
|
241 | except (socket.error, OSError) as exc: | |
242 | if exc.errno == errno.EADDRINUSE: |
|
242 | if exc.errno == errno.EADDRINUSE: | |
243 | return True |
|
243 | return True | |
244 | elif exc.errno in (errno.EADDRNOTAVAIL, errno.EPROTONOSUPPORT, |
|
244 | elif exc.errno in ( | |
245 | errno.EAFNOSUPPORT): |
|
245 | errno.EADDRNOTAVAIL, | |
|
246 | errno.EPROTONOSUPPORT, | |||
|
247 | errno.EAFNOSUPPORT, | |||
|
248 | ): | |||
246 | return False |
|
249 | return False | |
247 | else: |
|
250 | else: | |
248 | raise |
|
251 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now