From 64fca87a52e361718b46aaec8d1d5eea0f5ccdbc Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 13 Mar 2018 11:27:16 -0400 Subject: [PATCH] Remove the Continuous installer class, it is unused https://pagure.io/freeipa/issue/7330 Signed-off-by: Rob Crittenden Reviewed-By: Stanislav Laznicka --- ipapython/install/common.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/ipapython/install/common.py b/ipapython/install/common.py index ca1e8fd30..eaf78e379 100644 --- a/ipapython/install/common.py +++ b/ipapython/install/common.py @@ -7,12 +7,11 @@ Common stuff. """ import logging -import traceback from . import core from .util import from_ -__all__ = ['step', 'Installable', 'Interactive', 'Continuous', 'installer', +__all__ = ['step', 'Installable', 'Interactive', 'installer', 'uninstaller'] logger = logging.getLogger(__name__) @@ -88,16 +87,6 @@ class Interactive(core.Configurable): 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): class Installer(cls, Installable): def __init__(self, **kwargs):