Files
gentoo/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-collections.patch
2024-02-05 12:28:32 +01:00

15 lines
292 B
Diff

--- 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):