summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>2016-07-01 10:37:24 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:55:41 +0100
commit5d123a6ec0e97652b2ec4295428797a336ef357a (patch)
tree8d765a154b0999dfb1cc80286a8ad70965cf044e
parent2767cbe014f84c9ad42ed8ef1eca7caa862e5196 (diff)
downloadopenembedded-core-5d123a6ec0e97652b2ec4295428797a336ef357a.tar.gz
openembedded-core-5d123a6ec0e97652b2ec4295428797a336ef357a.tar.bz2
openembedded-core-5d123a6ec0e97652b2ec4295428797a336ef357a.zip
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 <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/wic2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic
index 9023755302..fe2c33f0e7 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):