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