projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89fb51d
)
Fall back to urllib instead of urllib2 for Python 3 urllib.parse
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 27 Nov 2012 22:58:47 +0000
(23:58 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 27 Nov 2012 22:58:47 +0000
(23:58 +0100)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index ccefc66a089c4b1c118651d36aefa7e7ba304a28..ac7e161af8b84a04c8e0b1bd6ea5eca9d4080396 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-43,7
+43,7
@@
except ImportError: # Python 2
try:
import urllib.parse as compat_urllib_parse
except ImportError: # Python 2
- import urllib
2
as compat_urllib_parse
+ import urllib as compat_urllib_parse
try:
import http.cookiejar as compat_cookiejar