[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1155/8267] scripts: Fixed typo in parameter that was causing exception
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1155/8267] scripts: Fixed typo in parameter that was causing exception
- Date: Sat, 16 Dec 2017 21:25:53 +0000 (UTC)
commit 21282724d839d964b50fe640be1b707f7b421933
Author: Humberto Ibarra <humberto ibarra lopez intel com>
Date: Fri Jul 1 10:37:24 2016 -0500
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>
scripts/yocto-kernel | 2 +-
scripts/yocto-layer | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/scripts/yocto-kernel b/scripts/yocto-kernel
index fd97cb7..5c70d0c 100755
--- a/scripts/yocto-kernel
+++ b/scripts/yocto-kernel
@@ -351,7 +351,7 @@ subcommands = {
def start_logging(loglevel):
- logging.basicConfig(filname = 'yocto-kernel.log', filemode = 'w', level=loglevel)
+ logging.basicConfig(filename = 'yocto-kernel.log', filemode = 'w', level=loglevel)
def main():
diff --git a/scripts/yocto-layer b/scripts/yocto-layer
index a5267f2..d58faca 100755
--- a/scripts/yocto-layer
+++ b/scripts/yocto-layer
@@ -113,7 +113,7 @@ subcommands = {
def start_logging(loglevel):
- logging.basicConfig(filname = 'yocto-layer.log', filemode = 'w', level=loglevel)
+ logging.basicConfig(filename = 'yocto-layer.log', filemode = 'w', level=loglevel)
def main():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]