[OE-core] [PATCH] scripts/yocto-bsp: Fixed typo in parameter that was causing exception

Humberto Ibarra humberto.ibarra.lopez at intel.com
Thu Jun 9 16:01:40 UTC 2016


There is a typo in the logging parameters, "filname" is being used instead
of "filename". This didn't cause issues before since python 2 didn't
validate unused parameters but with python >= 3.4.3 an exception is
thrown. This patch fixes this parameter name.

[Yocto #9736]

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez at intel.com>
---
 scripts/yocto-bsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp
index 6a422c3..0d36370 100755
--- a/scripts/yocto-bsp
+++ b/scripts/yocto-bsp
@@ -118,7 +118,7 @@ subcommands = {
 
 
 def start_logging(loglevel):
-    logging.basicConfig(filname = 'yocto-bsp.log', filemode = 'w', level=loglevel)
+    logging.basicConfig(filename = 'yocto-bsp.log', filemode = 'w', level=loglevel)
 
 
 def main():
-- 
2.4.11




More information about the Openembedded-core mailing list