summaryrefslogtreecommitdiff
path: root/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch
blob: fe905e9670b786500a4bcce7adbe1e3156e891a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/ffmpeg/_utils.py
+++ b/ffmpeg/_utils.py
@@ -3,6 +3,11 @@ from builtins import str
 import hashlib
 import sys
 
+try:
+    from collections.abc import Iterable
+except ImportError:
+    from collections import Iterable
+
 
 def with_metaclass(meta, *bases):
     class metaclass(meta):