Browse Source

[compat] Correct socket error class reference

master
Philipp Hagemeister 10 years ago
parent
commit
8ad6b5ed9f
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/compat.py

2
youtube_dl/compat.py

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

Loading…
Cancel
Save