From: Frank Brehm Date: Fri, 2 Nov 2018 15:23:24 +0000 (+0100) Subject: Applying flake8 rules to lib/cr_vmware_tpl/app.py X-Git-Tag: 0.3.2^2~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=b228616e59140eed6b803ce6c4736c0c8140610b;p=pixelpark%2Fcreate-vmware-tpl.git Applying flake8 rules to lib/cr_vmware_tpl/app.py --- 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: