projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12439dd
)
[compat] Fix python version check for compat_shlex_split
author
Sergey M․
<dstftw@gmail.com>
Sat, 5 Sep 2015 16:21:06 +0000
(22:21 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 5 Sep 2015 16:21:06 +0000
(22:21 +0600)
youtube_dl/compat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 9b77316f9e3268eab2816f965b03858d98f69b6a..e32bef279842d7a5c97d6e6e52b01cee267e69f9 100644
(file)
--- 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