From ee5b65400c3bd5ffa83aed674c00d2a776759a2f Mon Sep 17 00:00:00 2001 From: alichinese Date: Thu, 20 Apr 2023 11:11:07 +0000 Subject: [PATCH] generate: alter list platform bug * this commit fixes this bug due to an error in the parameter passing of the substitution function for the suffix file when executing the list of platforms Signed-off-by: lixinyu --- src/oebuild/app/plugins/generate/generate.py | 4 ++-- src/oebuild/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/oebuild/app/plugins/generate/generate.py b/src/oebuild/app/plugins/generate/generate.py index 46363a6..42997ad 100644 --- a/src/oebuild/app/plugins/generate/generate.py +++ b/src/oebuild/app/plugins/generate/generate.py @@ -282,9 +282,9 @@ cd {build_dir} log.info("the platform list is:") for platform in list_platform: if platform.endswith('.yml'): - log.info(platform.replace('.yml')) + log.info(platform.replace('.yml', '')) if platform.endswith('.yaml'): - log.info(platform.replace('.yaml')) + log.info(platform.replace('.yaml', '')) def _list_feature(self,): log.info("=============================================") diff --git a/src/oebuild/version.py b/src/oebuild/version.py index 7c1203a..e18c9db 100644 --- a/src/oebuild/version.py +++ b/src/oebuild/version.py @@ -10,4 +10,4 @@ MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details. ''' -__version__ = '0.0.14' +__version__ = '0.0.15' -- Gitee