Skip to content

Commit ed5c44e

Browse files
committed
[compat] Replace deficient ChainMap class in Py3.3 and earlier
* fix version check
1 parent 0f64225 commit ed5c44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

youtube_dl/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,7 @@ def unpack(self, string):
30053005
try:
30063006
from collections import ChainMap as compat_collections_chain_map
30073007
# Py3.3's ChainMap is deficient
3008-
if sys.version_info <= (3, 3):
3008+
if sys.version_info < (3, 4):
30093009
raise ImportError
30103010
except ImportError:
30113011
# Py <= 3.3

0 commit comments

Comments
 (0)