diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-07-27 16:35:37 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-07-27 16:35:37 -0400 |
commit | 26f130cea5926219cb00185ba5ff53fe1c8a8510 (patch) | |
tree | ad29fcd6754fd2a59984632e258ec8d9c96bd045 | |
parent | 102f791302888c5b5b576c3a1be937b433768a40 (diff) | |
download | third_party-cobbler-26f130cea5926219cb00185ba5ff53fe1c8a8510.tar.gz third_party-cobbler-26f130cea5926219cb00185ba5ff53fe1c8a8510.tar.xz third_party-cobbler-26f130cea5926219cb00185ba5ff53fe1c8a8510.zip |
Fix snippet cache code
-rw-r--r-- | cobbler/action_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index d668895..9f45fb0 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -52,6 +52,7 @@ class BootSync: self.systems = config.systems() self.settings = config.settings() self.repos = config.repos() + self.load_snippet_cache() def run(self): """ @@ -60,7 +61,6 @@ class BootSync: """ if not os.path.exists(self.settings.tftpboot): raise CX(_("cannot find directory: %s") % self.settings.tftpboot) - self.load_snippet_cache() self.clean_trees() self.copy_koan() self.copy_bootloaders() |