mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-28 20:44:51 +02:00
jw.pkg.cmds.distro.backend.*.*: Util -> BeXxx
Don't derive the Backend classes from distro-specifiy Util classes anylonger, but from command-specific BeXxx base classes. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
63395f414f
commit
7181849002
15 changed files with 72 additions and 24 deletions
16
src/python/jw/pkg/cmds/distro/backend/BeDup.py
Normal file
16
src/python/jw/pkg/cmds/distro/backend/BeDup.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import abc
|
||||
from argparse import Namespace
|
||||
|
||||
from .Backend import Backend as Base
|
||||
from ..CmdDup import CmdDup as Parent
|
||||
|
||||
class BeDup(Base):
|
||||
|
||||
def __init__(self, parent: Parent):
|
||||
super().__init__(parent)
|
||||
|
||||
@abc.abstractmethod
|
||||
async def run(self, args: Namespace) -> None:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue