diff options
author | Lei Yang <Lei.Yang@windriver.com> | 2019-04-10 14:04:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 00:31:48 +0100 |
commit | 70846334d1a8b61a3b917cb25a117cc7e894d165 (patch) | |
tree | 874a3d5d5182d63711535f8af439d68bb3a61b08 /scripts | |
parent | 3c0cf0ecb2fe9ca2b342833fb440cca54dfc878a (diff) | |
download | poky-70846334d1a8b61a3b917cb25a117cc7e894d165.tar.gz |
recipetool: add missed module
When I use recipetool to add a new recipe, it says:
[snip]
sys.exit(14)
NameError: name 'sys' is not defined
[snip]
(From OE-Core rev: 4cf8d01d0066699f39162e25d1cdc847c0175473)
Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/recipetool/create_npm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index 03667887fc..0b09ed0b04 100644 --- a/scripts/lib/recipetool/create_npm.py +++ b/scripts/lib/recipetool/create_npm.py | |||
@@ -16,6 +16,7 @@ | |||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
17 | 17 | ||
18 | import os | 18 | import os |
19 | import sys | ||
19 | import logging | 20 | import logging |
20 | import subprocess | 21 | import subprocess |
21 | import tempfile | 22 | import tempfile |