From: Frank Brehm Date: Wed, 27 May 2020 15:25:24 +0000 (+0200) Subject: Adding debug output X-Git-Tag: 2.1.2^2~9^2~31^2~105 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=c67bf4310c5b306dae3befb3722b7b86c12d6db4;p=pixelpark%2Fcreate-vmware-tpl.git Adding debug output --- diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index 51ee93d..16b42b8 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -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