summaryrefslogtreecommitdiffstats
path: root/cobbler/utils.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-08-27 15:09:16 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-08-27 15:09:16 -0400
commit159c39eef9df2fe4c4797f70a2598edb8a72d15b (patch)
tree641a493e6694584b5e5ca22564e6f71176f18b5b /cobbler/utils.py
parent52cd0bfe11da992cc17b55f5de4175482055b1d8 (diff)
downloadthird_party-cobbler-159c39eef9df2fe4c4797f70a2598edb8a72d15b.tar.gz
third_party-cobbler-159c39eef9df2fe4c4797f70a2598edb8a72d15b.tar.xz
third_party-cobbler-159c39eef9df2fe4c4797f70a2598edb8a72d15b.zip
Fix bug with upward/downward propogation of array content when using inheritance.
Diffstat (limited to 'cobbler/utils.py')
-rw-r--r--cobbler/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/utils.py b/cobbler/utils.py
index 7845960..23dcca6 100644
--- a/cobbler/utils.py
+++ b/cobbler/utils.py
@@ -309,6 +309,8 @@ def __consolidate(node,results):
if value != "<<inherit>>":
if type(value) == type({}):
node_data_copy[key] = value.copy()
+ elif type(value) == type([]):
+ node_data_copy[key] = value[:]
else:
node_data_copy[key] = value