[oe-commits] [openembedded-core] 35/66: recipetool: add missed module

git at git.openembedded.org git at git.openembedded.org
Tue May 21 23:32:58 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch thud
in repository openembedded-core.

commit 4cf8d01d0066699f39162e25d1cdc847c0175473
Author: Lei Yang <Lei.Yang at windriver.com>
AuthorDate: Wed Apr 10 14:04:09 2019 +0800

    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 at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 scripts/lib/recipetool/create_npm.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py
index 0366788..0b09ed0 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list