# from fb_tools.common import pp
from fb_tools.common import is_sequence, to_bool
-# from .config import ConfigError, BaseConfiguration
-from fb_tools.multi_config import MultiConfigError, BaseMultiConfig
from fb_tools.multi_config import DEFAULT_ENCODING
from fb_tools.obj import FbGenericBaseObject, FbBaseObject
+from . import PpConfigurationError, PpBaseConfiguration
+
from .. import MAX_PORT_NUMBER, DEFAULT_CONFIG_DIR
from . import VALID_TIERS, DEFAULT_TIER
from ..xlate import XLATOR
-__version__ = '0.3.1'
+__version__ = '0.4.1'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
MAX_TIMEOUT = 3600
# =============================================================================
-class LdapConfigError(MultiConfigError):
+class LdapConfigError(PpConfigurationError):
"""Base error class for all exceptions happened during
execution this configured application"""
# =============================================================================
-class LdapConfiguration(BaseMultiConfig):
+class LdapConfiguration(PpBaseConfiguration):
"""
A class for providing a configuration for an arbitrary Application working
with one or more LDAP connections, and methods to read it from configuration files.