jw.pkg.cmds.distro.backend.*.Base -> Util

Rename the class Base of all distribution backends to Util. It
contains distribution specifics, but is not going to be the base
class anymore shortly.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-17 11:14:39 +01:00
commit 05f3f33931
16 changed files with 28 additions and 28 deletions

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Dup(Base): class Dup(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Install(Base): class Install(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Refresh(Base): class Refresh(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,7 +3,7 @@
from ...Cmd import Cmd from ...Cmd import Cmd
from ..Backend import Backend from ..Backend import Backend
class Base(Backend): class Util(Backend):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Dup(Base): class Dup(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Install(Base): class Install(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Refresh(Base): class Refresh(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,7 +3,7 @@
from ...Cmd import Cmd from ...Cmd import Cmd
from ..Backend import Backend from ..Backend import Backend
class Base(Backend): class Util(Backend):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Dup(Base): class Dup(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Install(Base): class Install(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Refresh(Base): class Refresh(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,7 +3,7 @@
from ...Cmd import Cmd from ...Cmd import Cmd
from ..Backend import Backend from ..Backend import Backend
class Base(Backend): class Util(Backend):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Dup(Base): class Dup(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Install(Base): class Install(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,9 +3,9 @@
from argparse import Namespace from argparse import Namespace
from ...Cmd import Cmd from ...Cmd import Cmd
from .Base import Base from .Util import Util
class Refresh(Base): class Refresh(Util):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)

View file

@ -3,7 +3,7 @@
from ...Cmd import Cmd from ...Cmd import Cmd
from ..Backend import Backend from ..Backend import Backend
class Base(Backend): class Util(Backend):
def __init__(self, parent: Cmd): def __init__(self, parent: Cmd):
super().__init__(parent) super().__init__(parent)