aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-20 07:00:39 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-20 07:00:39 +0600
commit9b9c5355e4c0fe6f9028aaa3b1b8beb28a085433 (patch)
treea1c288b01778d4d8e0c661ed0766f149fb2532ba /youtube_dl/utils.py
parentd890b4cc0ac6b88daa917a1a791afe7541cd0411 (diff)
downloadyoutube-dl-9b9c5355e4c0fe6f9028aaa3b1b8beb28a085433.tar.xz
Rename error_to_str to error_to_compat_str
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 9a2dd1439..1737ac5f6 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1810,7 +1810,7 @@ def args_to_str(args):
return ' '.join(shlex_quote(a) for a in args)
-def error_to_str(err):
+def error_to_compat_str(err):
err_str = str(err)
# On python 2 error byte string must be decoded with proper
# encoding rather than ascii