from .xlate import XLATOR
-__version__ = '0.1.0'
+__version__ = '0.1.1'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
self, appname=None, verbose=0, version=__version__, base_dir=None,
append_appname_to_stems=True, additional_stems=None, config_dir=DEFAULT_CONFIG_DIR,
additional_config_file=None, additional_cfgdirs=None, encoding=DEFAULT_ENCODING,
- use_chardet=True, initialized=False):
+ ensure_privacy=False, use_chardet=True, initialized=False):
add_stems = []
if additional_stems:
append_appname_to_stems=append_appname_to_stems, config_dir=config_dir,
additional_stems=add_stems, additional_config_file=additional_config_file,
additional_cfgdirs=additional_cfgdirs, encoding=encoding, use_chardet=use_chardet,
- ensure_privacy=True, initialized=False,
+ ensure_privacy=ensure_privacy, initialized=False,
)
if initialized:
"""
@author: Frank Brehm
@contact: frank.brehm@pixelpark.com
-@copyright: © 2021 by Frank Brehm, Berlin
+@copyright: © 2022 by Frank Brehm, Berlin
@summary: The module for a application object related to PowerDNS.
"""
from __future__ import absolute_import
from fb_pdnstools.errors import PDNSApiNotFoundError
from fb_pdnstools.errors import PDNSApiValidationError
-from .cfg_app import PpCfgAppError, PpConfigApplication
+from fb_tools.errors import FbCfgAppError
+
+from fb_tools.cfg_app import FbConfigApplication
from .xlate import XLATOR
-__version__ = '0.7.1'
+__version__ = '0.8.0'
LOG = logging.getLogger(__name__)
_LIBRARY_NAME = "pp-pdns-api-client"
# =============================================================================
-class PpPDNSAppError(PpCfgAppError):
+class PpPDNSAppError(FbCfgAppError):
"""Base error class for all exceptions happened during
execution this configured application"""
pass
# =============================================================================
-class PpPDNSApplication(PpConfigApplication):
+class PpPDNSApplication(FbConfigApplication):
"""
Class for configured application objects related to PowerDNS.
"""