A feature-rich command-line audio/video downloader
[downloader/common] Use utils.shell_quote for debug command line
Sergey M․1433734c35db
diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.pyindex 5d66211476..77242dacc4 100644--- a/youtube_dl/downloader/common.py+++ b/youtube_dl/downloader/common.py@@ -8,10 +8,11 @@ import randomfrom ..compat import compat_os_namefrom ..utils import (+ decodeArgument,encodeFilename,error_to_compat_str,- decodeArgument,format_bytes,+ shell_quote,timeconvert,)@@ -381,10 +382,5 @@ class FileDownloader(object):if exe is None:exe = os.path.basename(str_args[0])- try:- import pipes- shell_quote = lambda args: ' '.join(map(pipes.quote, str_args))- except ImportError:- shell_quote = reprself.to_screen('[debug] %s command line: %s' % (exe, shell_quote(str_args)))