summaryrefslogtreecommitdiffstats
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-11 21:19:27 +0100
commit051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586 (patch)
tree66d640339501894cf4bf0addab899d36da014e15
parent6b9963a58eec9f5f5fe72021d13e3c89461a9649 (diff)
downloadopenembedded-core-051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586.tar.gz
openembedded-core-051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586.tar.bz2
openembedded-core-051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586.zip
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] Signed-off-by: Lei Yang <Lei.Yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
+import sys
import logging
import subprocess
import tempfile