From e84696e09ead5e462c198aaafd9291f31445b5db Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 5 Nov 2019 16:22:47 +0100 Subject: [PATCH] Bugfixing lib/cr_tf/handler.py --- lib/cr_tf/handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5