Skip to contentSkip to conversation

recipetool: add missed module

PATCH New Lei Yang 1 participant 1 message Apr 10, 2019

lore
Share & tools
lore

Lei Yang

author
#0 lore raw

PATCH 1/1 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]

---
 scripts/lib/recipetool/create_npm.py | 1 +
 1 file changed, 1 insertion(+)
scripts/lib/recipetool/create_npm.py +1 -0
index 03667887fc..0b09ed0b04 100644
@@ -16,6 +16,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 import os
+import sys
 import logging
 import subprocess
 import tempfile
Signature · 1 line
2.17.1