mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 17:45:55 +02:00
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:
parent
2cc3b59e75
commit
05f3f33931
16 changed files with 28 additions and 28 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue