projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename util.u to util.compat_str
[youtube-dl]
/
youtube_dl
/
utils.py
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index bde446bcbcbeb68bc7042c58e64e32893704c273..4d098a377a6fa64f1246c1919cda943881e37afe 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-27,9
+27,9
@@
std_headers = {
}
try:
-
u
= unicode # Python 2
+
compat_str
= unicode # Python 2
except NameError:
-
u
= str
+
compat_str
= str
def preferredencoding():
"""Get preferred encoding.