From b4f52f2642cdded7e10c3894a96ff8b154a281ad Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 20 Oct 2021 16:25:45 +0100 Subject: [PATCH] arm/lib/oeqa: fix module lookup As multiple paths can and do provide modules under oeqa.controllers, all of these paths need to call pkgutil.extend_path() so the lookup works correctly. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/lib/oeqa/controllers/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-arm/lib/oeqa/controllers/__init__.py b/meta-arm/lib/oeqa/controllers/__init__.py index e69de29b..df3c142a 100644 --- a/meta-arm/lib/oeqa/controllers/__init__.py +++ b/meta-arm/lib/oeqa/controllers/__init__.py @@ -0,0 +1,3 @@ +# This is needed so that multiple locations can provide the same package +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__)