From: Frank Brehm Date: Tue, 5 Nov 2019 15:22:47 +0000 (+0100) Subject: Bugfixing lib/cr_tf/handler.py X-Git-Tag: 1.3.4~15 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e84696e09ead5e462c198aaafd9291f31445b5db;p=pixelpark%2Fcreate-terraform.git Bugfixing lib/cr_tf/handler.py --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index de43fdf..8e3fbb2 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -61,7 +61,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.0.2' +__version__ = '3.0.3' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -624,7 +624,7 @@ class CreateTerraformHandler(BaseHandler): "In {f!r} were found {nr} different VSPhere definitions:").format( f=yaml_file, nr=len(found_vspheres)) msg += '\n' - for vname in sorted(found_vspheres, key=string.lower): + for vname in sorted(found_vspheres, key=str.lower): msg += ' * {!r}'.format(vname) raise ExpectedHandlerError(msg)