summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLei Yang <Lei.Yang@windriver.com>2019-04-10 14:04:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-12 09:29:06 +0100
commit305f569cf2067b52c8fb786248263ccee6cd919d (patch)
tree819162485d5b28ce0b6b149fdf7823def906e43d /scripts
parent6d3a0411f3790e188b182b3c6a1fa102d00edda2 (diff)
downloadpoky-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.py1
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
18import os 18import os
19import sys
19import logging 20import logging
20import subprocess 21import subprocess
21import tempfile 22import tempfile