From 8baa7ec82bd5c1f5e9e1dd66621f4dc7654312f9 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 6 Jan 2022 17:03:00 +0100 Subject: [PATCH] Fixing lib/cr_vmware_tpl/app.py --- lib/cr_vmware_tpl/__init__.py | 2 +- lib/cr_vmware_tpl/app.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/cr_vmware_tpl/__init__.py b/lib/cr_vmware_tpl/__init__.py index 5f3e2f2..8308e6c 100644 --- a/lib/cr_vmware_tpl/__init__.py +++ b/lib/cr_vmware_tpl/__init__.py @@ -3,7 +3,7 @@ import time -__version__ = '2.3.0' +__version__ = '2.3.1' # ------------------------------------------------------------------------- diff --git a/lib/cr_vmware_tpl/app.py b/lib/cr_vmware_tpl/app.py index 9d50b0a..6bbf6b1 100644 --- a/lib/cr_vmware_tpl/app.py +++ b/lib/cr_vmware_tpl/app.py @@ -14,6 +14,7 @@ import re import argparse import getpass import pathlib +import sys # Third party modules @@ -37,7 +38,7 @@ from .xlate import __base_dir__ as __xlate_base_dir__ from .xlate import __mo_file__ as __xlate_mo_file__ from .xlate import XLATOR, LOCALE_DIR, DOMAIN -__version__ = '1.2.2' +__version__ = '1.3.1' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -169,8 +170,6 @@ class CrTplApplication(BaseApplication): def init_logging(self): """Initialize the logger object.""" - # super(CrTplApplication, self).init_logging() - log_level = logging.INFO if self.verbose: log_level = logging.DEBUG -- 2.39.5