]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/patch: add missing import
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 22 Dec 2017 08:57:53 +0000 (21:57 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
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 <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>
meta/lib/oe/patch.py

index f1ab3dd8096085f8cad4e68c97ba434df24ec163..584bf6c05fb209f084bc436c6d3e5f15c04d32f4 100644 (file)
@@ -1,4 +1,5 @@
 import oe.path
+import oe.types
 
 class NotFoundError(bb.BBHandledException):
     def __init__(self, path):