Rename util.u to util.compat_str
[youtube-dl] / youtube_dl / utils.py
index bde446bcbcbeb68bc7042c58e64e32893704c273..4d098a377a6fa64f1246c1919cda943881e37afe 100644 (file)
@@ -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.