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-07 13:38:13 +0100 |
commit | 21282724d839d964b50fe640be1b707f7b421933 (patch) | |
tree | b44d5eece2474b3fd48760c887215614e476a497 /scripts | |
parent | 3f8fbdb3427311b1d1fa18df4568aa990db796de (diff) | |
download | poky-21282724d839d964b50fe640be1b707f7b421933.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 meta-yocto rev: 844fbba63b146a2ded3fced0d62bf047bf844af3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/yocto-kernel | 2 | ||||
-rwxr-xr-x | scripts/yocto-layer | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/yocto-kernel b/scripts/yocto-kernel index fd97cb77d9..5c70d0c8cc 100755 --- a/scripts/yocto-kernel +++ b/scripts/yocto-kernel | |||
@@ -351,7 +351,7 @@ subcommands = { | |||
351 | 351 | ||
352 | 352 | ||
353 | def start_logging(loglevel): | 353 | def start_logging(loglevel): |
354 | logging.basicConfig(filname = 'yocto-kernel.log', filemode = 'w', level=loglevel) | 354 | logging.basicConfig(filename = 'yocto-kernel.log', filemode = 'w', level=loglevel) |
355 | 355 | ||
356 | 356 | ||
357 | def main(): | 357 | def main(): |
diff --git a/scripts/yocto-layer b/scripts/yocto-layer index a5267f2c11..d58facaa41 100755 --- a/scripts/yocto-layer +++ b/scripts/yocto-layer | |||
@@ -113,7 +113,7 @@ subcommands = { | |||
113 | 113 | ||
114 | 114 | ||
115 | def start_logging(loglevel): | 115 | def start_logging(loglevel): |
116 | logging.basicConfig(filname = 'yocto-layer.log', filemode = 'w', level=loglevel) | 116 | logging.basicConfig(filename = 'yocto-layer.log', filemode = 'w', level=loglevel) |
117 | 117 | ||
118 | 118 | ||
119 | def main(): | 119 | def main(): |