]> Frank Brehm's Git Trees - pixelpark/puppet-tools.git/commitdiff
Switching config class of BaseDPXPuppetApplication in dpx_puppettools.app to DpxPuppe...
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 6 Feb 2023 17:01:36 +0000 (18:01 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 6 Feb 2023 17:01:36 +0000 (18:01 +0100)
lib/dpx_puppettools/app/__init__.py

index 1b7c55b8d643245afec83c6894406bf8749ce1f6..207671d36e613ec51035a954a0f4d125a3b6e086 100644 (file)
@@ -14,7 +14,7 @@ import shutil
 # Third party modules
 from fb_tools.cfg_app import FbConfigApplication
 from fb_tools.errors import FbAppError
-from fb_tools.multi_config import BaseMultiConfig
+from fb_tools.multi_config import BaseMultiConfig
 
 # Own modules
 from .. import __version__ as GLOBAL_VERSION
@@ -23,12 +23,14 @@ from .. import DEFAULT_TERMINAL_WIDTH, DEFAULT_TERMINAL_HEIGHT
 
 from ..xlate import XLATOR
 
+from ..config import DpxPuppetConfig
+
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
 ngettext = XLATOR.ngettext
 
-__version__ = '0.1.2'
+__version__ = '0.2.0'
 
 
 # =============================================================================
@@ -57,7 +59,7 @@ class BaseDPXPuppetApplication(FbConfigApplication):
     # -------------------------------------------------------------------------
     def __init__(
         self, appname=None, verbose=0, version=GLOBAL_VERSION, base_dir=None, quiet=False,
-            cfg_class=BaseMultiConfig, initialized=False, usage=None, description=None,
+            cfg_class=DpxPuppetConfig, initialized=False, usage=None, description=None,
             argparse_epilog=None, argparse_prefix_chars='-', env_prefix=None,
             config_dir=DEFAULT_CONFIG_DIR):