diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-06-12 15:14:43 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-06-12 15:14:43 -0400 |
commit | 297f85a192483a61d921a35b6f7938d3c52e466f (patch) | |
tree | b5362c5c9d6203512d4804358a36c1d2e9b3ef93 /cobbler/item_system.py | |
parent | d3dfa949cba586ac3226486f763cba5140a90be7 (diff) | |
download | third_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_system.py')
-rw-r--r-- | cobbler/item_system.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py index 8c6021f..fef76ea 100644 --- a/cobbler/item_system.py +++ b/cobbler/item_system.py @@ -80,7 +80,7 @@ class System(item.Item): """ Return object next highest up the tree. """ - return self.config.distros().find(self.distro_name) + return self.config.profiles().find(self.profile) def set_name(self,name): """ |