diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-08-23 12:12:42 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-08-23 12:12:42 -0400 |
commit | 068fe0df24740772c1a588ec62d5673383a8e880 (patch) | |
tree | dcf1f61e759797bd2b9446d8547e48eb7d26b036 /cobbler/item_profile.py | |
parent | 538fc78ee8cb5cff2bc8bce7fb531b46ad305ae1 (diff) | |
download | third_party-cobbler-068fe0df24740772c1a588ec62d5673383a8e880.tar.gz third_party-cobbler-068fe0df24740772c1a588ec62d5673383a8e880.tar.xz third_party-cobbler-068fe0df24740772c1a588ec62d5673383a8e880.zip |
Some code to fix a reference issue that allowed for hash value propogation up the graph, in ksmeta and
possibly kopts. Also added some code to check to make sure an object of the wrong type never gets
added to the wrong collection.
Diffstat (limited to 'cobbler/item_profile.py')
-rw-r--r-- | cobbler/item_profile.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py index 4062826..3df3113 100644 --- a/cobbler/item_profile.py +++ b/cobbler/item_profile.py @@ -21,7 +21,8 @@ from rhpl.translate import _, N_, textdomain, utf8 class Profile(item.Item): TYPE_NAME = _("profile") - + COLLECTION_TYPE = "profile" + def make_clone(self): ds = self.to_datastruct() cloned = Profile(self.config) |