From 0a2307294cf9d538397fb1580be18152fa67466a Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 8 Feb 2019 17:41:30 +0100 Subject: [PATCH] Fixing flake8 Gemaule --- lib/cr_vmware_tpl/handler.py | 5 +++-- locale/create_vm_template.pot | 4 ++-- locale/de_DE/LC_MESSAGES/create_vm_template.po | 4 ++-- locale/en_US/LC_MESSAGES/create_vm_template.po | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index 6f1afe5..ba5b631 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -38,7 +38,7 @@ from .config import CrTplConfiguration from .xlate import XLATOR -__version__ = '1.3.0' +__version__ = '1.3.1' LOG = logging.getLogger(__name__) TZ = pytz.timezone('Europe/Berlin') @@ -837,7 +837,8 @@ class CrTplHandler(BaseHandler): self.vsphere.wait_for_tasks([task]) LOG.debug(_("Successful renamed VM into {!r}.").format(self.config.template_name)) - LOG.info(_("Changing VM {!r} into a VMWare template ...").format(self.config.template_name)) + LOG.info(_("Changing VM {!r} into a VMWare template ...").format( + self.config.template_name)) vm.MarkAsTemplate() LOG.debug(_("Object {!r} is now a VMWare template.").format(self.config.template_name)) diff --git a/locale/create_vm_template.pot b/locale/create_vm_template.pot index 1a2cf0a..57b1400 100644 --- a/locale/create_vm_template.pot +++ b/locale/create_vm_template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: create_vm_template 1.1.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-02-08 16:09+0100\n" +"POT-Creation-Date: 2019-02-08 17:40+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -488,7 +488,7 @@ msgstr "" msgid "Changing VM {!r} into a VMWare template ..." msgstr "" -#: lib/cr_vmware_tpl/handler.py:842 +#: lib/cr_vmware_tpl/handler.py:843 msgid "Object {!r} is now a VMWare template." msgstr "" diff --git a/locale/de_DE/LC_MESSAGES/create_vm_template.po b/locale/de_DE/LC_MESSAGES/create_vm_template.po index e102d0d..73f5652 100644 --- a/locale/de_DE/LC_MESSAGES/create_vm_template.po +++ b/locale/de_DE/LC_MESSAGES/create_vm_template.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: create_vm_template 1.1.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-02-08 16:09+0100\n" +"POT-Creation-Date: 2019-02-08 17:40+0100\n" "PO-Revision-Date: 2019-02-08 16:10+0100\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" @@ -497,7 +497,7 @@ msgstr "VM erfolgreich nach {!r} umbenannt." msgid "Changing VM {!r} into a VMWare template ..." msgstr "Wandle VM {!r} in eine VMWare-Vorlage um …" -#: lib/cr_vmware_tpl/handler.py:842 +#: lib/cr_vmware_tpl/handler.py:843 msgid "Object {!r} is now a VMWare template." msgstr "Das Objekt {!r} ist jeztzt eine VMWare-Vorlage." diff --git a/locale/en_US/LC_MESSAGES/create_vm_template.po b/locale/en_US/LC_MESSAGES/create_vm_template.po index c6613d6..1043eab 100644 --- a/locale/en_US/LC_MESSAGES/create_vm_template.po +++ b/locale/en_US/LC_MESSAGES/create_vm_template.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: create_vm_template 1.1.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-02-08 16:09+0100\n" +"POT-Creation-Date: 2019-02-08 17:40+0100\n" "PO-Revision-Date: 2019-02-08 16:10+0100\n" "Last-Translator: FULL NAME \n" "Language: en_US\n" @@ -489,7 +489,7 @@ msgstr "" msgid "Changing VM {!r} into a VMWare template ..." msgstr "" -#: lib/cr_vmware_tpl/handler.py:842 +#: lib/cr_vmware_tpl/handler.py:843 msgid "Object {!r} is now a VMWare template." msgstr "" -- 2.39.5