From 39d77bf5c15bf016eeb9eac4028e86e2db875cb7 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 17 Jun 2020 12:01:04 +0200 Subject: [PATCH] Bugfixing --- lib/cr_vmware_tpl/cobbler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5