X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=youtube_dl%2Fcompat.py;h=e32bef279842d7a5c97d6e6e52b01cee267e69f9;hb=ed1269000f24a6ddc683a295ff402ef3ded5c4fb;hp=9b77316f9e3268eab2816f965b03858d98f69b6a;hpb=51f579b6358ab56ff9d03ef72e5bfeb345632b4e;p=youtube-dl diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index 9b77316f9..e32bef279 100644 --- a/youtube_dl/compat.py +++ b/youtube_dl/compat.py @@ -228,7 +228,7 @@ except ImportError: # Python < 3.3 return "'" + s.replace("'", "'\"'\"'") + "'" -if sys.version_info > (2, 7, 2): +if sys.version_info >= (2, 7, 3): compat_shlex_split = shlex.split else: # Working around shlex issue with unicode strings on some python 2