summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-12-22 21:57:53 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 10:13:57 +0000
commit1d51565dfd4d308b6e923c40b1d593ca07f419a1 (patch)
tree773939497c372a81146b0caf5a70eccd1c5b02e0
parent8fedae4a8444394a9c00d40e41aa302d2507030b (diff)
downloadpoky-1d51565dfd4d308b6e923c40b1d593ca07f419a1.tar.gz
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>
-rw-r--r--meta/lib/oe/patch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index f1ab3dd809..584bf6c05f 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -1,4 +1,5 @@
1import oe.path 1import oe.path
2import oe.types
2 3
3class NotFoundError(bb.BBHandledException): 4class NotFoundError(bb.BBHandledException):
4 def __init__(self, path): 5 def __init__(self, path):