]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/compat.py
[utils] change extract_attributes to work in python 2
[youtube-dl.git] / youtube_dl / compat.py
index 9b77316f9e3268eab2816f965b03858d98f69b6a..e32bef279842d7a5c97d6e6e52b01cee267e69f9 100644 (file)
@@ -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