summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>2016-06-09 11:01:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:47:19 +0100
commit0aa5c2759901c6e1976eb34ce1d83a584a90f5a6 (patch)
tree6449afe5ab96b4b72135ea87fa819fdf12598d12
parent9199a25e0177e278f94f80af08c05f8f75a21623 (diff)
downloadpoky-0aa5c2759901c6e1976eb34ce1d83a584a90f5a6.tar.gz
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>
-rwxr-xr-xscripts/yocto-bsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp
index 6a422c3891..0d36370519 100755
--- a/scripts/yocto-bsp
+++ b/scripts/yocto-bsp
@@ -118,7 +118,7 @@ subcommands = {
118 118
119 119
120def start_logging(loglevel): 120def start_logging(loglevel):
121 logging.basicConfig(filname = 'yocto-bsp.log', filemode = 'w', level=loglevel) 121 logging.basicConfig(filename = 'yocto-bsp.log', filemode = 'w', level=loglevel)
122 122
123 123
124def main(): 124def main():