mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove the Continuous installer class, it is unused
https://pagure.io/freeipa/issue/7330 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
68c7b03689
commit
64fca87a52
@ -7,12 +7,11 @@ Common stuff.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
|
|
||||||
from . import core
|
from . import core
|
||||||
from .util import from_
|
from .util import from_
|
||||||
|
|
||||||
__all__ = ['step', 'Installable', 'Interactive', 'Continuous', 'installer',
|
__all__ = ['step', 'Installable', 'Interactive', 'installer',
|
||||||
'uninstaller']
|
'uninstaller']
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
@ -88,16 +87,6 @@ class Interactive(core.Configurable):
|
|||||||
interactive = core.Property(False)
|
interactive = core.Property(False)
|
||||||
|
|
||||||
|
|
||||||
class Continuous(core.Configurable):
|
|
||||||
def _handle_execute_exception(self, exc_info):
|
|
||||||
try:
|
|
||||||
super(Continuous, self)._handle_execute_exception(exc_info)
|
|
||||||
except BaseException as e:
|
|
||||||
logger.debug("%s", traceback.format_exc())
|
|
||||||
if isinstance(e, Exception):
|
|
||||||
logger.error("%s", e)
|
|
||||||
|
|
||||||
|
|
||||||
def installer(cls):
|
def installer(cls):
|
||||||
class Installer(cls, Installable):
|
class Installer(cls, Installable):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user