projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f64225
)
[compat] Replace deficient ChainMap class in Py3.3 and earlier
author
dirkf
<fieldhouse@gmx.net>
Fri, 26 Aug 2022 11:22:01 +0000
(12:22 +0100)
committer
dirkf
<fieldhouse@gmx.net>
Fri, 26 Aug 2022 11:22:01 +0000
(12:22 +0100)
* fix version check
youtube_dl/compat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 366a93924a8ab4786929ded0d0aef591af91ec88..eca6d63de7264ed6a1373ccbb30a1e777c524db6 100644
(file)
--- a/
youtube_dl/compat.py
+++ b/
youtube_dl/compat.py
@@
-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