]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 17 Jun 2020 10:01:04 +0000 (12:01 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 17 Jun 2020 10:01:04 +0000 (12:01 +0200)
lib/cr_vmware_tpl/cobbler.py

index 78b50d84533275c5d21e8dea8279aae795d4ccde..102b173350cebb8d6a2aa8d1733fa9193dc47eba 100644 (file)
@@ -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