aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-05-10 15:58:25 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-05-10 16:00:21 +0800
commit702ccf2dc08603fed98d2672f86af1a0e300d83e (patch)
tree1be58fdfba6658ed3541fcc37473d49a2aa421f8 /youtube_dl/utils.py
parent28b4f73620c82e7007b3154e4d5f437cf6fb2608 (diff)
[compat] Rename shlex_quote and remove unused subprocess_check_output
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index dbac38b55..e8b09e9db 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -42,6 +42,7 @@ from .compat import (
compat_http_client,
compat_kwargs,
compat_parse_qs,
+ compat_shlex_quote,
compat_socket_create_connection,
compat_str,
compat_struct_pack,
@@ -52,7 +53,6 @@ from .compat import (
compat_urllib_request,
compat_urlparse,
compat_xpath,
- shlex_quote,
)
from .socks import (
@@ -1977,7 +1977,7 @@ def ytdl_is_updateable():
def args_to_str(args):
# Get a short string representation for a subprocess command
- return ' '.join(shlex_quote(a) for a in args)
+ return ' '.join(compat_shlex_quote(a) for a in args)
def error_to_compat_str(err):