lib: Fix misplaced "# export" markers
A couple of "# export" markers after function prototypes have been pushed along with the closing parenthesis onto the wrong line by the code formatter, fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
eea3e5f14b
commit
dcbe959843
5 changed files with 18 additions and 18 deletions
|
|
@ -33,20 +33,20 @@ async def _run(
|
|||
if sudo else await run_cmd(cmd, ec = ec, cmd_input = InputMode.NonInteractive)
|
||||
).stdout_str
|
||||
|
||||
async def run_dpkg(
|
||||
async def run_dpkg( # export
|
||||
args: list[str],
|
||||
sudo: bool = False,
|
||||
ec: ExecContext | None = None
|
||||
) -> str: # export
|
||||
) -> str:
|
||||
cmd = ['/usr/bin/dpkg']
|
||||
cmd.extend(args)
|
||||
return await _run(cmd, sudo, ec)
|
||||
|
||||
async def run_dpkg_query(
|
||||
async def run_dpkg_query( # export
|
||||
args: list[str],
|
||||
sudo: bool = False,
|
||||
ec: ExecContext | None = None
|
||||
) -> str: # export
|
||||
) -> str:
|
||||
cmd = ['/usr/bin/dpkg-query']
|
||||
cmd.extend(args)
|
||||
return await _run(cmd, sudo, ec)
|
||||
|
|
|
|||
Loading…
Reference in a new issue