diff options
Diffstat (limited to 'meta/lib/oe/maketype.py')
-rw-r--r-- | meta/lib/oe/maketype.py | 7 |
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 | ||
11 | import inspect | 11 | import inspect |
12 | import oe.types as types | 12 | import oe.types as types |
13 | try: | 13 | from collections.abc import Callable |
14 | # Python 3.7+ | ||
15 | from collections.abc import Callable | ||
16 | except ImportError: | ||
17 | # Python < 3.7 | ||
18 | from collections import Callable | ||
19 | 14 | ||
20 | available_types = {} | 15 | available_types = {} |
21 | 16 | ||