From 96731798dbdd5a8878ac5cf29b69c6c7c821311b Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 27 Nov 2012 23:29:18 +0100 Subject: Rename util.u to util.compat_str --- youtube_dl/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube_dl/utils.py') 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. -- cgit v1.2.3