From ee8d20ab2bb5a34fb402884c542740972250c786 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 20 Oct 2021 13:43:47 +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 --- 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__)