From ee12dce0f4ebb3d325af5b79d292818f61d3f851 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 19 Jun 2020 16:55:20 +0200 Subject: [PATCH] Bugfixing --- lib/cr_vmware_tpl/cobbler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index 21e2c14..37742d8 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -803,7 +803,7 @@ class Cobbler(BaseHandler): LOG.info(_("Ensuring currentness of postfix files below {!r}.").format(str(files_dir))) self.ensure_remote_directory(remote_dir) - for local_file in files_dir.('*'): + for local_file in files_dir.glob('*'): remote_file = remote_dir / local_file.name self.ensure_remote_file(local_file, remote_file, check_parent=False) -- 2.39.5