lib.ExecContext.sudo(): Remove dead code
ExecContext.sudo() contains dead code, remove it.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0bfb08bce2
commit
1999f85645
1 changed files with 0 additions and 12 deletions
|
|
@ -452,18 +452,6 @@ class ExecContext(Base):
|
||||||
cc.check_exit_code(ret)
|
cc.check_exit_code(ret)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
return await self._sudo(
|
|
||||||
cmd,
|
|
||||||
opts = opts,
|
|
||||||
wd = wd,
|
|
||||||
mod_env_sudo = mod_env_sudo,
|
|
||||||
mod_env_cmd = mod_env_cmd,
|
|
||||||
throw = throw,
|
|
||||||
verbose = verbose,
|
|
||||||
cmd_input = cmd_input,
|
|
||||||
title = title,
|
|
||||||
)
|
|
||||||
|
|
||||||
async def _get(
|
async def _get(
|
||||||
self, path: str, wd: str | None, throw: bool, verbose: bool | None, title: str
|
self, path: str, wd: str | None, throw: bool, verbose: bool | None, title: str
|
||||||
) -> Result:
|
) -> Result:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue