summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-12 15:56:03 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-12 15:56:03 -0400
commit0b8502cd2209b809ed8b98d8bab0086e169c4a0f (patch)
treee9419c253c094fd99fc6617b827cd8b2b048116d /cobbler/item_system.py
parent297f85a192483a61d921a35b6f7938d3c52e466f (diff)
downloadthird_party-cobbler-0b8502cd2209b809ed8b98d8bab0086e169c4a0f.tar.gz
third_party-cobbler-0b8502cd2209b809ed8b98d8bab0086e169c4a0f.tar.xz
third_party-cobbler-0b8502cd2209b809ed8b98d8bab0086e169c4a0f.zip
Add conceptual_parent concept, to allow tree retrieval of objects that may have
intermediate subobjects of the same type in the way. For instance, the conceptual parent of a subprofile is not the parent profile, but is the distro object. Also fixing a bug in is_pxe_supported()
Diffstat (limited to 'cobbler/item_system.py')
-rw-r--r--cobbler/item_system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index fef76ea..baaf2fb 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -133,7 +133,7 @@ class System(item.Item):
"""
mac = self.get_mac_address()
ip = self.get_ip_address()
- if mac is None or ip is None:
+ if mac is None and ip is None:
return False
return True