import logging
import re
-from pathlib import Path
-
# Third party modules
import pytz
from .xlate import XLATOR
-__version__ = '1.3.5'
+__version__ = '1.3.6'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
if val < 1:
msg = _("a port may not be less than 1: {}.").format(val)
raise CrTfConfigError(msg)
- max_val = (2**16) -1
+ max_val = (2 ** 16) - 1
if val > max_val:
msg = _("a port may not be greater than {m}: {v}.").format(
m=max_val, v=val)
res['vsphere'] = {}
for vsphere_name in self.vsphere.keys():
res['vsphere'][vsphere_name] = self.vsphere[vsphere_name].as_dict(
- short=short, show_secrets=show_secrets)
+ short=short, show_secrets=show_secrets)
if self.pdns_api_key:
if show_secrets or self.verbose > 4: