diff options
author | Humberto Ibarra <humberto.ibarra.lopez@intel.com> | 2016-07-01 10:37:24 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-08 09:57:25 +0100 |
commit | 6a2753bc3570612df4ad57b8509ee371da8839fb (patch) | |
tree | eeff9ce6acc4aa24937e9b8d44f2f71ca501d6ed /scripts/wic | |
parent | f8bdaf38783a37125388924eec7b5af6216ae880 (diff) | |
download | poky-6a2753bc3570612df4ad57b8509ee371da8839fb.tar.gz |
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]
(From OE-Core rev: 5d123a6ec0e97652b2ec4295428797a336ef357a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 2 |
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 = { | |||
294 | 294 | ||
295 | 295 | ||
296 | def start_logging(loglevel): | 296 | def start_logging(loglevel): |
297 | logging.basicConfig(filname='wic.log', filemode='w', level=loglevel) | 297 | logging.basicConfig(filename='wic.log', filemode='w', level=loglevel) |
298 | 298 | ||
299 | 299 | ||
300 | def main(argv): | 300 | def main(argv): |