fix update
This commit is contained in:
parent
56d0a610ff
commit
c7de427475
|
@ -139,7 +139,7 @@ class RougailUpgrade:
|
||||||
for name in choices:
|
for name in choices:
|
||||||
choice = SubElement(variable, 'choice')
|
choice = SubElement(variable, 'choice')
|
||||||
choice.text = name
|
choice.text = name
|
||||||
if not has_value and choices[0]['type'] != 'variable':
|
if not has_value:
|
||||||
value = SubElement(variable, 'value')
|
value = SubElement(variable, 'value')
|
||||||
value.text = choices[0]
|
value.text = choices[0]
|
||||||
variable.attrib['mandatory'] = 'True'
|
variable.attrib['mandatory'] = 'True'
|
||||||
|
|
Loading…
Reference in New Issue