From: Frank Brehm Date: Wed, 17 Jun 2020 10:01:04 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 2.1.2^2~9^2~31^2~32 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=39d77bf5c15bf016eeb9eac4028e86e2db875cb7;p=pixelpark%2Fcreate-vmware-tpl.git Bugfixing --- diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index 78b50d8..102b173 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -40,7 +40,7 @@ from .config import CrTplConfiguration from .xlate import XLATOR -__version__ = '0.5.6' +__version__ = '0.5.7' LOG = logging.getLogger(__name__) @@ -735,7 +735,7 @@ class Cobbler(BaseHandler): LOG.info(_("Ensuring currentness of snippets below {!r}.").format( str(self.config.snippets_dir))) - for local_repo_dir in local_snippets_dir.glob('repos-*'): + for local_repo_dir in files_dir.glob('repos-*'): if not local_repo_dir.is_dir(): LOG.warn(_("Local path {!r} is not a directory.").format(str(local_repo_dir))) continue