summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-09-17 14:59:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-19 11:33:14 +0100
commit5128defbc3996af5f8e28f5681ba4ad5b3c5d023 (patch)
tree4e661fcc44f37b1045f4d8e3ce251e25a9265084 /meta
parentc5d1550fe696ce0d131529d4682fd669f8bf25a9 (diff)
downloadpoky-5128defbc3996af5f8e28f5681ba4ad5b3c5d023.tar.gz
meta: correct collections vs collections.abc deprecation
collections.abc is available since 3.3 and doesn't need special handling. (From OE-Core rev: 01152c9410ba00274c8415a5d914dc33dfd0cf46) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/maketype.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/lib/oe/maketype.py b/meta/lib/oe/maketype.py
index d929c8b3e5..d36082c535 100644
--- a/meta/lib/oe/maketype.py
+++ b/meta/lib/oe/maketype.py
@@ -10,12 +10,7 @@ the arguments of the type's factory for details.
10 10
11import inspect 11import inspect
12import oe.types as types 12import oe.types as types
13try: 13from collections.abc import Callable
14 # Python 3.7+
15 from collections.abc import Callable
16except ImportError:
17 # Python < 3.7
18 from collections import Callable
19 14
20available_types = {} 15available_types = {}
21 16