From 9e8f5e3d2e37fc4bf1446de47f29dde9354951d0 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 4 Mar 2026 15:59:21 +0000 Subject: [PATCH] cmds.distro.backend.debian.Util.apt_get(): Take list apt_get(), like all other functions and methods spawning processes should take a list instead of a starred *args array. Implement that. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/cmds/distro/backend/debian/Util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/cmds/distro/backend/debian/Util.py b/src/python/jw/pkg/cmds/distro/backend/debian/Util.py index 890124ad..82bcd8b8 100644 --- a/src/python/jw/pkg/cmds/distro/backend/debian/Util.py +++ b/src/python/jw/pkg/cmds/distro/backend/debian/Util.py @@ -8,7 +8,7 @@ class Util(Base): def __init__(self, parent: Cmd): super().__init__(parent) - async def apt_get(self, *args): + async def apt_get(self, args: list[str]): cmd = ['/usr/bin/apt-get'] mod_env = None if not self.interactive: