projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bb814
)
[compat] Correct socket error class reference
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 11 Jan 2015 09:47:39 +0000
(10:47 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 11 Jan 2015 09:47:39 +0000
(10:47 +0100)
youtube_dl/compat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 07ceaa17004f226dad1c87269d2d14b871e4910d..4453b34fceea50861ccedec0ec177a12f424274d 100644
(file)
--- a/
youtube_dl/compat.py
+++ b/
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