diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-08-24 00:14:47 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-23 13:47:49 +0100 |
commit | 1261900aeac725e5712e0180600753a9d4c67e60 (patch) | |
tree | e27183fe3aabe436a030171467c425f38a6576d9 /scripts/lib | |
parent | f59e729f98ef9b506b0cfdc415567e03ec87f2a9 (diff) | |
download | openembedded-core-1261900aeac725e5712e0180600753a9d4c67e60.tar.gz openembedded-core-1261900aeac725e5712e0180600753a9d4c67e60.tar.bz2 openembedded-core-1261900aeac725e5712e0180600753a9d4c67e60.zip |
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().
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/recipetool/create_npm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index 07fcf4d883..6252e915b5 100644 --- a/scripts/lib/recipetool/create_npm.py +++ b/scripts/lib/recipetool/create_npm.py @@ -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: |