mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
recipetool: create: fix broken import in npm module
With "import oe" in create_npm.py you get "AttributeError: module 'oe' has no attribute 'package'" when it tries to call oe.package.npm_split_package_dirs(). (From OE-Core rev: 1261900aeac725e5712e0180600753a9d4c67e60) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ff57794b51
commit
433aa81f92
@@ -166,7 +166,7 @@ class NpmRecipeHandler(RecipeHandler):
|
||||
|
||||
def process(self, srctree, classes, lines_before, lines_after, handled, extravalues):
|
||||
import bb.utils
|
||||
import oe
|
||||
import oe.package
|
||||
from collections import OrderedDict
|
||||
|
||||
if 'buildsystem' in handled:
|
||||
|
||||
Reference in New Issue
Block a user