cleaning
This commit is contained in:
parent
eaf139147a
commit
81443dc368
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ class RougailUserDataEnvironment:
|
||||||
# here we expect the bash option value of a multi to be coma separated:
|
# here we expect the bash option value of a multi to be coma separated:
|
||||||
# FIXME faire un strip() la dessus
|
# FIXME faire un strip() la dessus
|
||||||
option_bash_value = option_bash_value.split(",")
|
option_bash_value = option_bash_value.split(",")
|
||||||
if type_obj is not None:
|
if type_obj:
|
||||||
option_bash_value = [type_obj(opt) for opt in option_value]
|
option_bash_value = [type_obj(opt) for opt in option_value]
|
||||||
if type_obj:
|
elif type_obj:
|
||||||
option_bash_value = type_obj(option_bash_value)
|
option_bash_value = type_obj(option_bash_value)
|
||||||
option.value.set(option_bash_value)
|
option.value.set(option_bash_value)
|
||||||
|
|
Loading…
Reference in a new issue