diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-11-27 23:29:18 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-11-27 23:29:18 +0100 |
commit | 96731798dbdd5a8878ac5cf29b69c6c7c821311b (patch) | |
tree | a8699f7460fcc1b3892afce2d78ca9e816692eca /youtube_dl/utils.py | |
parent | c116339ddbe62d88b6295d519c03027070ec7d0d (diff) |
Rename util.u to util.compat_str
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index bde446bcb..4d098a377 100644 --- 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. |