mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 09:35:54 +02:00
jw.pkg.cmds.lib.Cmd: Define run()
Define run(), which calls _run() in the abstract base class Cmd, not in lib.Cmd. Otherwise lib.Cmd is not abstract, which will predictably confuse including code outside of jw-pkg. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4932c6816c
commit
d50a33d9ab
2 changed files with 4 additions and 4 deletions
|
|
@ -20,6 +20,3 @@ class Cmd(Base): # export
|
|||
type_name_filter=r'Cmd[^.]'
|
||||
)
|
||||
)
|
||||
|
||||
async def run(self, args):
|
||||
return await self._run(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue