core (params): removed unused values
This commit is contained in:
parent
77c3e83ec8
commit
0ecb55517d
1 changed files with 0 additions and 1 deletions
|
|
@ -373,7 +373,6 @@ class Params(object):
|
|||
elif node.getAttribute('type') == 'list':
|
||||
assert not value_to_use # only accept <option selected...> and not <param value...>
|
||||
options = [option for option in node.childNodes if option.nodeName == 'option']
|
||||
values = [option.getAttribute('value') for option in options]
|
||||
selected = [option for option in options if option.getAttribute('selected') == 'true']
|
||||
cat, param = node.parentNode.getAttribute('name'), node.getAttribute('name')
|
||||
if len(selected) == 1:
|
||||
|
|
|
|||
Loading…
Reference in a new issue