]> code.ossystems Code Review - openembedded-core.git/commitdiff
recipetool: add missed module
authorLei Yang <Lei.Yang@windriver.com>
Wed, 10 Apr 2019 06:04:09 +0000 (14:04 +0800)
committerArmin Kuster <akuster808@gmail.com>
Sun, 14 Apr 2019 14:23:21 +0000 (07:23 -0700)
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>
scripts/lib/recipetool/create_npm.py

index 03667887fc0b9470daaea1386227b637e5ec3463..0b09ed0b04353d8b33395d4d5bff5b1e27686ff9 100644 (file)
@@ -16,6 +16,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
+import sys
 import logging
 import subprocess
 import tempfile