1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 14:45:42 +07:00

[compat] Rename shlex_quote and remove unused subprocess_check_output

This commit is contained in:
Yen Chi Hsuan
2016-05-10 15:58:25 +08:00
parent 28b4f73620
commit 702ccf2dc0
3 changed files with 7 additions and 20 deletions

View File

@@ -42,6 +42,7 @@
compat_http_client,
compat_kwargs,
compat_parse_qs,
compat_shlex_quote,
compat_socket_create_connection,
compat_str,
compat_struct_pack,
@@ -52,7 +53,6 @@
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):