]> 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>
Tue, 2 Jan 2018 17:24:15 +0000 (17:24 +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>
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):