1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[compat] Correct socket error class reference

This commit is contained in:
Philipp Hagemeister 2015-01-11 10:47:39 +01:00
parent d5bb814d34
commit 8ad6b5ed9f

View file

@ -329,7 +329,7 @@ if sys.version_info < (2, 7):
if err is not None: if err is not None:
raise err raise err
else: else:
raise error("getaddrinfo returns an empty list") raise socket.error("getaddrinfo returns an empty list")
else: else:
compat_socket_create_connection = socket.create_connection compat_socket_create_connection = socket.create_connection