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.

(From OE-Core rev: e039463f5f8a4c918a9b60cd7c41ebf0a42b27bf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26ff9d2835a24a84c7f2bf9c829a13ed568c9ea0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton
2017-12-22 21:57:53 +13:00
committed by Richard Purdie
parent 8fedae4a84
commit 1d51565dfd

View File

@@ -1,4 +1,5 @@
import oe.path
import oe.types
class NotFoundError(bb.BBHandledException):
def __init__(self, path):