From 44a87298ba46253612dedc3b38fa7484db8e550e Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Tue, 19 May 2020 10:10:20 +0200 Subject: [PATCH] build: Drop unnecessary argument to BuildCommand() Signed-off-by: Paul Barker Signed-off-by: Jan Kiszka --- kas/build.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kas/build.py b/kas/build.py index c470bda..990f3ac 100644 --- a/kas/build.py +++ b/kas/build.py @@ -102,7 +102,7 @@ class Build: macro.add(WriteBBConfig()) # Build - macro.add(BuildCommand(args.task)) + macro.add(BuildCommand()) if 'SSH_PRIVATE_KEY' in os.environ: macro.add(CleanupSSHAgent()) @@ -117,9 +117,8 @@ class BuildCommand(Command): Implements the bitbake build step. """ - def __init__(self, task): + def __init__(self): super().__init__() - self.task = task def __str__(self): return 'build'