aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLei Yang <Lei.Yang@windriver.com>2019-04-10 14:04:09 +0800
committerArmin Kuster <akuster808@gmail.com>2019-04-14 07:23:21 -0700
commit4cf8d01d0066699f39162e25d1cdc847c0175473 (patch)
treef90a5a988897a373bb7cbac015097ecb8320779a /scripts
parentb768cfb6c849cbbc2d6e2d03974af009ca5340de (diff)
downloadopenembedded-core-contrib-4cf8d01d0066699f39162e25d1cdc847c0175473.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] 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>
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 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
+import sys
import logging
import subprocess
import tempfile