[Et-mgmt-commits-list] [SCM] cobbler branch, master now at v0.4.8-67-g224bb93
Michael DeHaan
mdehaan at redhat.com
Thu Jul 5 20:23:08 UTC 2007
Hello,
This is an automated email from the git hooks/update script, it was
generated because a ref change was pushed to the repository.
Updating branch, master,
via 224bb933094abd526c864f8ad6acd9be19e65130 (commit)
from 5618c9ce7c76658de885375b3db577c521973b31 (commit)
- Log -----------------------------------------------------------------
commit 224bb933094abd526c864f8ad6acd9be19e65130
Author: Michael DeHaan <mdehaan at mdehaan.rdu.redhat.com>
Date: Thu Jul 5 16:24:54 2007 -0400
Make sure system deletions are occur without requiring a cobblerd restart
-----------------------------------------------------------------------
Diffstat:
cobbler/cobblerd.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py
index 0699632..9e71187 100644
--- a/cobbler/cobblerd.py
+++ b/cobbler/cobblerd.py
@@ -98,6 +98,7 @@ class CobblerXMLRPCInterface:
return cmp(a["name"],b["name"])
def __get_all(self,collection):
+ self.api.clear()
self.api.deserialize()
data = collection.to_datastruct()
data.sort(self.__sorter)
@@ -113,6 +114,7 @@ class CobblerXMLRPCInterface:
return self.__get_all(self.api.systems())
def __get_specific(self,collection,name):
+ self.api.clear()
self.api.deserialize()
item = collection.find(name)
if item is None:
@@ -133,6 +135,7 @@ class CobblerXMLRPCInterface:
return self.__get_specific(self.api.repos(),name)
def get_distro_for_koan(self,name):
+ self.api.clear()
self.api.deserialize()
obj = cobbler_api.distros().find(name)
if obj is not None:
@@ -140,6 +143,7 @@ class CobblerXMLRPCInterface:
return self.fix_none({})
def get_profile_for_koan(self,name):
+ self.api.clear()
self.api.deserialize()
obj = self.api.profiles().find(name)
if obj is not None:
@@ -147,6 +151,7 @@ class CobblerXMLRPCInterface:
return self.fix_none({})
def get_system_for_koan(self,name):
+ self.api.clear()
self.api.deserialize()
obj = self.api.systems().find(name)
if obj is not None:
@@ -154,6 +159,7 @@ class CobblerXMLRPCInterface:
return self.fix_none({})
def get_repo_for_koan(self,name):
+ self.api.clear()
self.api.deserialize()
obj = self.api.repos().find(name)
if obj is not None:
hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
5618c9ce7c76658de885375b3db577c521973b31 \
224bb933094abd526c864f8ad6acd9be19e65130
More information about the Et-mgmt-commits-list
mailing list