]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Adding debug output
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 27 May 2020 15:25:24 +0000 (17:25 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 27 May 2020 15:25:24 +0000 (17:25 +0200)
lib/cr_vmware_tpl/cobbler.py

index 51ee93df9d5f6cd560a16e1140612471a0e76502..16b42b8cd9a730f74fbab4ca91ef4be5147b1288 100644 (file)
@@ -177,6 +177,8 @@ class Cobbler(BaseHandler):
             if distro:
                 distro_list.append(distro)
         distro_list.sort(key=str.lower)
+        if self.verbose > 1:
+            LOG.debug(_("Sorted list of found distros:") + "\n}".format(pp(distro_list)))
         return distro_list