summaryrefslogtreecommitdiffstats
path: root/cobbler/collection.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2009-01-23 14:53:19 -0500
committerMichael DeHaan <mdehaan@redhat.com>2009-01-23 14:53:19 -0500
commit8e99fe1d81c7e4dfc2901ffe7fd3b6579051ecfb (patch)
tree5ecf87ebf4b5595bbd919585bac03180a9b38173 /cobbler/collection.py
parentc04c0ec45bb93145d4e6624e51be5fad7f0466c9 (diff)
downloadcobbler-8e99fe1d81c7e4dfc2901ffe7fd3b6579051ecfb.tar.gz
cobbler-8e99fe1d81c7e4dfc2901ffe7fd3b6579051ecfb.tar.xz
cobbler-8e99fe1d81c7e4dfc2901ffe7fd3b6579051ecfb.zip
Working on getting the server to not ping itself
Diffstat (limited to 'cobbler/collection.py')
-rw-r--r--cobbler/collection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/collection.py b/cobbler/collection.py
index e714b3fb..3249555f 100644
--- a/cobbler/collection.py
+++ b/cobbler/collection.py
@@ -293,7 +293,7 @@ class Collection(serializable.Serializable):
parent.children[ref.name] = ref
# signal remote cobblerd to update it's cache of this item.
- if save:
+ if save and not self.api.is_cobblerd:
self.api._internal_cache_update(ref.COLLECTION_TYPE,ref.name)
return True