summaryrefslogtreecommitdiffstats
path: root/cobbler/item_repo.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-11 19:05:53 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-11 19:05:53 -0400
commit06404c7931f48c2c50b4b6b5901de0736e65a6e5 (patch)
tree2e6fc02246ff805be2e6b7897724444a1ad27590 /cobbler/item_repo.py
parent1d5c5ba3f0252f8f90e170fe8a99f00d2cb03e84 (diff)
downloadthird_party-cobbler-06404c7931f48c2c50b4b6b5901de0736e65a6e5.tar.gz
third_party-cobbler-06404c7931f48c2c50b4b6b5901de0736e65a6e5.tar.xz
third_party-cobbler-06404c7931f48c2c50b4b6b5901de0736e65a6e5.zip
Generalizes object blending and the concept of parentage to allow for later support
of inheritance hierarchies, as well as making more data available to koan and the kickstart templating engine. With this change, any variable in the tree (anywhere), is now accessible via Cheetah -- and the same goes for koan XMLRPC. Unit tests pass and looks okay on the outside, though this still warrants extended testing to verify no unintended behaviors have changed.
Diffstat (limited to 'cobbler/item_repo.py')
-rw-r--r--cobbler/item_repo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobbler/item_repo.py b/cobbler/item_repo.py
index f58cd1b..585771d 100644
--- a/cobbler/item_repo.py
+++ b/cobbler/item_repo.py
@@ -137,6 +137,9 @@ class Repo(item.Item):
buf = buf + _("createrepo_flags : %s\n") % self.createrepo_flags
return buf
+ def get_parent(self):
+ return None
+
def is_rsync_mirror(self):
"""
Returns True if this mirror is synchronized using rsync, False otherwise