This commit is contained in:
gwen 2024-09-10 15:17:48 +02:00
parent 146ab88eab
commit fd9edbf63c

View file

@ -91,6 +91,10 @@ class RougailUserDataEnvironment:
# -> in this case, do nothing # -> in this case, do nothing
type_obj = CONVERT_OPTION.get(option_type, {}).get("func") type_obj = CONVERT_OPTION.get(option_type, {}).get("func")
option_bash_value = rougail_environment_vars.pop(option_name) option_bash_value = rougail_environment_vars.pop(option_name)
print("--------------")
print(option_name)
print(option_bash_value)
print(rougail_environment_vars)
if ismulti: if ismulti:
# 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:
option_bash_value = [opt.strip() for opt in option_bash_value.split(",")] option_bash_value = [opt.strip() for opt in option_bash_value.split(",")]
@ -99,4 +103,3 @@ class RougailUserDataEnvironment:
elif 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)
print(rougail_environment_vars)