]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 19 Jun 2020 14:55:20 +0000 (16:55 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 19 Jun 2020 14:55:20 +0000 (16:55 +0200)
lib/cr_vmware_tpl/cobbler.py

index 21e2c144175fae25a73c1bec5befcd622e7ffe4a..37742d85eb39ac546b2f65ead37dbcc41b627283 100644 (file)
@@ -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)