[PATCH] plugins/clean: Drop redundant parameters for ConfigFile.load

1 view
Skip to first unread message

Jan Kiszka

unread,
Apr 30, 2026, 3:50:26 AM (10 days ago) Apr 30
to kas-devel, Felix Moessbauer
From: Jan Kiszka <jan.k...@siemens.com>

For both is_external and is_lockfile, just the defaults were passed.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
kas/plugins/clean.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas/plugins/clean.py b/kas/plugins/clean.py
index 9313d29..2bffea2 100644
--- a/kas/plugins/clean.py
+++ b/kas/plugins/clean.py
@@ -82,7 +82,7 @@ class Clean():
if self.config_files:
# By definition, build_system key must be present in the first
# config file to take effect.
- cf = ConfigFile.load(self.config_files.split(':')[0], False, False)
+ cf = ConfigFile.load(self.config_files.split(':')[0])
build_system = cf.config.get('build_system')
if args.isar:
build_system = 'isar'
--
2.47.3

MOESSBAUER, Felix

unread,
Apr 30, 2026, 4:50:16 AM (10 days ago) Apr 30
to Kiszka, Jan, kas-devel
On Thu, 2026-04-30 at 09:50 +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.k...@siemens.com>
>
> For both is_external and is_lockfile, just the defaults were passed.
>
> Signed-off-by: Jan Kiszka <jan.k...@siemens.com>

Reviewed-by: Felix Moessbauer <felix.mo...@siemens.com>

Reply all
Reply to author
Forward
0 new messages