]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing debug output
authorFrank Brehm <frank@brehm-online.com>
Wed, 29 Jun 2022 14:30:11 +0000 (16:30 +0200)
committerFrank Brehm <frank@brehm-online.com>
Wed, 29 Jun 2022 14:30:11 +0000 (16:30 +0200)
lib/cr_vmware_tpl/cobbler.py

index 09d6834dca861b8c65a97881184e08e6c9739b80..417c3c6776aa175563ac8e87d196bc86d0e0ae6e 100644 (file)
@@ -48,7 +48,7 @@ from .config import CrTplConfiguration
 
 from .xlate import XLATOR
 
-__version__ = '0.8.8'
+__version__ = '0.8.9'
 
 LOG = logging.getLogger(__name__)
 
@@ -595,7 +595,7 @@ class Cobbler(BaseHandler):
 
         profile_vars = self.get_profile_vars(profile)
 
-        if self.verbose > 1:
+        if self.verbose > 2:
             LOG.debug(_("Got profile variables:") + '\n' + pp(profile_vars))
         self._change_profile(profile_vars)
 
@@ -1144,7 +1144,8 @@ class Cobbler(BaseHandler):
         docroot = self.cfg.cobbler_ws_docroot / self.cfg.cobbler_ws_rel_filesdir
         webroot = docroot / self.cfg.system_status
         desc = _("Webroot directory")
-        LOG.info(_("Ensuring existence of {what} {dir!r}...").format(what=desc, dir=webroot))
+        LOG.info(_("Ensuring existence of {what} {dir!r}...").format(
+            what=desc, dir=str(webroot)))
 
         self.ensure_remote_directory(webroot, desc)