]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Applying flake8 rules to lib/cr_vmware_tpl/app.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 2 Nov 2018 15:23:24 +0000 (16:23 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 2 Nov 2018 15:23:24 +0000 (16:23 +0100)
lib/cr_vmware_tpl/app.py

index 8d6ba5d9e1fdf6d94cf3e35e566d88e8b14c8377..857a0e1afa7461e2f6db5833837257bef6dcce6e 100644 (file)
@@ -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: