From b228616e59140eed6b803ce6c4736c0c8140610b Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 2 Nov 2018 16:23:24 +0100 Subject: [PATCH] Applying flake8 rules to lib/cr_vmware_tpl/app.py --- lib/cr_vmware_tpl/app.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/cr_vmware_tpl/app.py b/lib/cr_vmware_tpl/app.py index 8d6ba5d..857a0e1 100644 --- a/lib/cr_vmware_tpl/app.py +++ b/lib/cr_vmware_tpl/app.py @@ -9,15 +9,11 @@ from __future__ import absolute_import # Standard modules -import sys -import os import logging import re -import traceback import textwrap import argparse import getpass -import argparse import pathlib # Third party modules @@ -25,19 +21,17 @@ import pathlib # Own modules from . import __version__ as GLOBAL_VERSION -import fb_tools - -from fb_tools.common import pp, caller_search_path +from fb_tools.common import pp from fb_tools.app import BaseApplication -from fb_tools.errors import FbAppError, ExpectedHandlerError, CommandNotFoundError +from fb_tools.errors import FbAppError, ExpectedHandlerError from .config import CrTplConfiguration from .handler import CrTplHandler -__version__ = '0.6.4' +__version__ = '0.6.5' LOG = logging.getLogger(__name__) @@ -226,7 +220,6 @@ class CrTplApplication(BaseApplication): self.config = CrTplConfiguration( appname=self.appname, verbose=self.verbose, base_dir=self.base_dir, config_file=self.cfg_file) - #self.config.config_file = self.cfg_file self.config.read() if self.config.verbose > self.verbose: -- 2.39.5