mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
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 <jan@janware.com>
This commit is contained in:
parent
39ab1885e6
commit
9e8f5e3d2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue