From: Frank Brehm Date: Wed, 6 Feb 2019 16:20:42 +0000 (+0100) Subject: Applied Flake8 rules X-Git-Tag: 1.1.0^2~25 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=6252f3fa685c2144beaf0180382fc1b159ea3645;p=pixelpark%2Fcreate-vmware-tpl.git Applied Flake8 rules --- diff --git a/lib/cr_vmware_tpl/app.py b/lib/cr_vmware_tpl/app.py index 777f34b..2ec09fa 100644 --- a/lib/cr_vmware_tpl/app.py +++ b/lib/cr_vmware_tpl/app.py @@ -31,7 +31,7 @@ from .config import CrTplConfiguration from .handler import CrTplHandler -__version__ = '1.0.0' +__version__ = '1.0.1' LOG = logging.getLogger(__name__) @@ -40,6 +40,7 @@ class CrTplAppError(FbAppError): """ Base exception class for all exceptions in this application.""" pass + # ============================================================================= class NrTemplatesOptionAction(argparse.Action): diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index 5210697..9a21924 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -9,7 +9,6 @@ from __future__ import absolute_import, print_function # Standard module -import os import logging import re import random @@ -36,11 +35,12 @@ from fb_tools.vsphere.iface import VsphereVmInterface from .config import CrTplConfiguration -__version__ = '1.0.0' +__version__ = '1.0.1' LOG = logging.getLogger(__name__) TZ = pytz.timezone('Europe/Berlin') + # ============================================================================= class TempVmExistsError(ExpectedHandlerError): """Special error class for the case, if the temporary VM is already existing."""