From c67bf4310c5b306dae3befb3722b7b86c12d6db4 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 27 May 2020 17:25:24 +0200 Subject: [PATCH] Adding debug output --- lib/cr_vmware_tpl/cobbler.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5