]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Bugfixing lib/cr_tf/handler.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 5 Nov 2019 15:22:47 +0000 (16:22 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 5 Nov 2019 15:22:47 +0000 (16:22 +0100)
lib/cr_tf/handler.py

index de43fdf355a4bdee0ce421cf11f3eab1f66c62bf..8e3fbb23db9d36c20999592e3eb1f82d83af6f2c 100644 (file)
@@ -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)