From: Humberto Ibarra Date: Fri, 1 Jul 2016 15:37:24 +0000 (-0500) Subject: scripts: Fixed typo in parameter that was causing exception X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d123a6ec0e97652b2ec4295428797a336ef357a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git scripts: Fixed typo in parameter that was causing exception There is a typo in the logging parameters, "filname" is being used instead of "filename" for yocto-kernel, yocto-layer and wic scripts. 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 #9834] Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/wic b/scripts/wic index 9023755302a..fe2c33f0e7b 100755 --- a/scripts/wic +++ b/scripts/wic @@ -294,7 +294,7 @@ subcommands = { def start_logging(loglevel): - logging.basicConfig(filname='wic.log', filemode='w', level=loglevel) + logging.basicConfig(filename='wic.log', filemode='w', level=loglevel) def main(argv):