lib + cmds.projects: Use lib.Uri
Remove the feeble attempts at unifying URI handling, and use class Uri from lib.Uri instead.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f0eeb14a97
commit
d9746cd20b
8 changed files with 65 additions and 98 deletions
|
|
@ -243,14 +243,6 @@ class ExecContext(Base):
|
|||
def __init__(self, *args, **kwargs) -> None:
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
@abc.abstractmethod
|
||||
def _username(self) -> str:
|
||||
pass
|
||||
|
||||
@property
|
||||
def username(self) -> str:
|
||||
return self._username()
|
||||
|
||||
async def run(
|
||||
self,
|
||||
cmd: list[str],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue