summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-12 15:14:43 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-12 15:14:43 -0400
commit297f85a192483a61d921a35b6f7938d3c52e466f (patch)
treeb5362c5c9d6203512d4804358a36c1d2e9b3ef93 /cobbler/item_profile.py
parentd3dfa949cba586ac3226486f763cba5140a90be7 (diff)
downloadthird_party-cobbler-297f85a192483a61d921a35b6f7938d3c52e466f.tar.gz
third_party-cobbler-297f85a192483a61d921a35b6f7938d3c52e466f.tar.xz
third_party-cobbler-297f85a192483a61d921a35b6f7938d3c52e466f.zip
Add code for generation of object downlinks during config parsing.
Reasonably efficient, and allows for faster display/searching, with the ability to do arbitrary nesting for config display when we have inheritable profiles implemented.
Diffstat (limited to 'cobbler/item_profile.py')
-rw-r--r--cobbler/item_profile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index c107865..491e346 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -190,5 +190,7 @@ class Profile(item.Item):
buf = buf + _("virt file size : %s\n") % self.virt_file_size
buf = buf + _("virt ram : %s\n") % self.virt_ram
buf = buf + _("repos : %s\n") % self.repos
+ # FIXME: testing only
+ buf = buf + _("children: : %s\n") % self.get_children()
return buf