mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-22 20:20:09 +09:00
[compat] Replace deficient ChainMap class in Py3.3 and earlier
* fix version check
This commit is contained in:
parent
0f6422590e
commit
ed5c44e7b7
@ -3005,7 +3005,7 @@ except ImportError:
|
||||
try:
|
||||
from collections import ChainMap as compat_collections_chain_map
|
||||
# Py3.3's ChainMap is deficient
|
||||
if sys.version_info <= (3, 3):
|
||||
if sys.version_info < (3, 4):
|
||||
raise ImportError
|
||||
except ImportError:
|
||||
# Py <= 3.3
|
||||
|
Loading…
Reference in New Issue
Block a user