diff options
author | Lei Yang <Lei.Yang@windriver.com> | 2019-04-10 14:04:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-12 09:29:06 +0100 |
commit | 305f569cf2067b52c8fb786248263ccee6cd919d (patch) | |
tree | 819162485d5b28ce0b6b149fdf7823def906e43d /scripts | |
parent | 6d3a0411f3790e188b182b3c6a1fa102d00edda2 (diff) | |
download | poky-305f569cf2067b52c8fb786248263ccee6cd919d.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: 051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586)
Signed-off-by: Lei Yang <Lei.Yang@windriver.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 |