summaryrefslogtreecommitdiffstats
path: root/cobbler/item.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-11 13:27:55 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-11 13:27:55 -0400
commit2c45ec8a448fba315b5e7ac4204e467ff74a679d (patch)
tree7309603105895cab0a2f46f6bca62a30adcdf94f /cobbler/item.py
parent23c7807c07a2badfd8f38d7c351a15b3235651ca (diff)
downloadthird_party-cobbler-2c45ec8a448fba315b5e7ac4204e467ff74a679d.tar.gz
third_party-cobbler-2c45ec8a448fba315b5e7ac4204e467ff74a679d.tar.xz
third_party-cobbler-2c45ec8a448fba315b5e7ac4204e467ff74a679d.zip
Lots of changes to make subprofile creation and editing work in the WebUI.
Diffstat (limited to 'cobbler/item.py')
-rw-r--r--cobbler/item.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/item.py b/cobbler/item.py
index 75b1389..b2fc61d 100644
--- a/cobbler/item.py
+++ b/cobbler/item.py
@@ -49,7 +49,7 @@ class Item(serializable.Serializable):
self.config = config
self.settings = self.config._settings
self.clear(is_subobject) # reset behavior differs for inheritance cases
- self.parent = None # all objects by default are not subobjects
+ self.parent = '' # all objects by default are not subobjects
self.children = {} # caching for performance reasons, not serialized