From: Frank Brehm Date: Fri, 19 Jun 2020 14:55:20 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 2.1.2^2~9^2~31^2~17^2~2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=ee12dce0f4ebb3d325af5b79d292818f61d3f851;p=pixelpark%2Fcreate-vmware-tpl.git Bugfixing --- 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)