1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

scripts/yocto-bsp: Fixed typo in parameter that was causing exception

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]

(From meta-yocto rev: aae5c2c39f64be87152b2e5470b50681c0f54670)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Humberto Ibarra
2016-06-09 11:01:40 -05:00
committed by Richard Purdie
parent 9199a25e01
commit 0aa5c27599
+1 -1
View File
@@ -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():