youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 8df5ae15d1f010bd96a8c51087718c5f41d3d90f
parent 12439dd5ec46ccac1ef13db7280473ecef44a096
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  5 Sep 2015 22:21:06 +0600

[compat] Fix python version check for compat_shlex_split

Diffstat:
Myoutube_dl/compat.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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