diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-02-02 16:42:02 -0500 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-02 16:42:02 -0500 |
commit | 2a244397cb582c0f61280fe4a076411ddbfcc2dc (patch) | |
tree | 1c0fb2a6183249aafa500a3ed532a1390f7d0c4e | |
parent | 4ce23db0492822de6ba8e8c445e202b72d805028 (diff) | |
download | third_party-cobbler-2a244397cb582c0f61280fe4a076411ddbfcc2dc.tar.gz third_party-cobbler-2a244397cb582c0f61280fe4a076411ddbfcc2dc.tar.xz third_party-cobbler-2a244397cb582c0f61280fe4a076411ddbfcc2dc.zip |
Minor fixes to sync flag stuff.
-rw-r--r-- | cobbler/action_sync.py | 4 | ||||
-rw-r--r-- | cobbler/api.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index bec2570..69720ea 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -34,11 +34,11 @@ class BootSync: Handles conversion of internal state to the tftpboot tree layout """ - def __init__(self,config): + def __init__(self,config,verbose=False): """ Constructor """ - self.verbose = True + self.verbose = verbose self.config = config self.distros = config.distros() self.profiles = config.profiles() diff --git a/cobbler/api.py b/cobbler/api.py index aa7d42a..551a7c7 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -32,8 +32,8 @@ class BootAPI: """ self._config = config.Config() self.deserialize() - # self.settings = self._config.settings() - # self.syncflag = self.settings.minimize_syncs + self.settings = self._config.settings() + self.sync_flag = self.settings.minimize_syncs def clear(self): """ |