From: Paul Eggleton Date: Fri, 22 Dec 2017 08:57:53 +0000 (+1300) Subject: lib/oe/patch: add missing import X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ff9d2835a24a84c7f2bf9c829a13ed568c9ea0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lib/oe/patch: add missing import This module refers to oe.types, so it needs to actually import oe.types. Fixes errors when parsing certain OE-Core recipes within the layer index update script. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index f1ab3dd8096..584bf6c05fb 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -1,4 +1,5 @@ import oe.path +import oe.types class NotFoundError(bb.BBHandledException): def __init__(self, path):