From a888e01e4f2c19dcb5cafe3edea5526de7dc8869 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 26 Aug 2020 12:24:11 +0200 Subject: [PATCH] Bugfixing in lib/cr_vmware_tpl/handler.py --- lib/cr_vmware_tpl/handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cr_vmware_tpl/handler.py b/lib/cr_vmware_tpl/handler.py index 6ded21c..cd1bbf1 100644 --- a/lib/cr_vmware_tpl/handler.py +++ b/lib/cr_vmware_tpl/handler.py @@ -29,11 +29,11 @@ from pyVmomi import vim from fb_tools.common import pp, to_str from fb_tools.errors import HandlerError, ExpectedHandlerError -from fb_tools.errors import VSphereDatacenterNotFoundError from fb_tools.handler import BaseHandler from fb_tools.vsphere.errors import VSphereExpectedError +from fb_tools.vsphere.errors import VSphereDatacenterNotFoundError from fb_tools.vsphere.server import VsphereServer from fb_tools.vsphere.iface import VsphereVmInterface from fb_tools.vsphere.ds import VsphereDatastore @@ -44,7 +44,7 @@ from .cobbler import Cobbler from .xlate import XLATOR -__version__ = '1.8.1' +__version__ = '1.8.2' LOG = logging.getLogger(__name__) TZ = pytz.timezone('Europe/Berlin') @@ -489,7 +489,7 @@ class CrTplHandler(BaseHandler): # ------------------------------------------------------------------------- def _get_storage_pod_obj_rec(self, child, used_c_name, depth=1): -A if hasattr(child, 'childEntity'): + if hasattr(child, 'childEntity'): if depth > self.vsphere.max_search_depth: return None for sub_child in child.childEntity: -- 2.39.5