[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
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30
3 changed files with 7 additions and 20 deletions

View file

@ -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):