Commit 4ebad852 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Use property value as default value while editing

parent 573427f5
......@@ -1174,7 +1174,7 @@ class BusinessPatchItem(XMLObject):
Override _edit to create Business Item and BusinessPropertyItem for old and
new value
"""
dependency_list = kw.get('dependency_list', [])
dependency_list = kw.get('dependency_list', self.getProperty('dependency_list'))
# Raise error if no dependency_list, this way we ensure there are no useless
# patch_item objects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment