Commit f3a53f55 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

didn't update one function

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent a532a314
......@@ -233,19 +233,19 @@ class UIModuleCCSession(MultiConfigData):
a DataTypeError if the value at the identifier is not a list,
or if the given value_str does not match the list_item_spec
module_spec = find_spec(self.config.specification, identifier)
module_spec = self.find_spec_part(identifier)
if (type(module_spec) != dict or "list_item_spec" not in module_spec):
raise DataTypeError(identifier + " is not a list")
value = parse_value_str(value_str)
check_type(module_spec, [value])
cur_list =, identifier)
if not cur_list:
cur_list =, identifier)
value =
isc.config.config_data.check_type(module_spec, [value])
cur_list, status = self.get_value(identifier)
#if not cur_list:
# cur_list =, identifier)
if not cur_list:
cur_list = []
if value in cur_list:
set(self.config_changes, identifier, cur_list)
self.set_value(identifier, cur_list)
def commit(self):
"""Commit all local changes, send them through b10-cmdctl to
Supports Markdown
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