cleaning
This commit is contained in:
parent
a1549e0765
commit
cfd32c222d
1 changed files with 16 additions and 17 deletions
|
@ -78,12 +78,11 @@ class RougailUserDataEnvironment:
|
||||||
# carefull, it could be None -> in this case, do nothing
|
# carefull, it could be None -> in this case, do nothing
|
||||||
type_obj = CONVERT_OPTION.get(option_type, {}).get("func")
|
type_obj = CONVERT_OPTION.get(option_type, {}).get("func")
|
||||||
#
|
#
|
||||||
rougail_environment_var = get_rougail_environment_var()
|
|
||||||
option_name = option.path()
|
option_name = option.path()
|
||||||
# this is used only for warning purposes
|
# this is used only for warning purposes
|
||||||
|
if option_name in unused_environment_var:
|
||||||
self.unused_environment_var.remove(option_name)
|
self.unused_environment_var.remove(option_name)
|
||||||
# let's parse the environment variables values
|
# let's parse the environment variables values
|
||||||
if option_name in rougail_environment_var:
|
|
||||||
if ismulti:
|
if ismulti:
|
||||||
option_bash_value = get_rougail_environment_dict()[option_name]
|
option_bash_value = get_rougail_environment_dict()[option_name]
|
||||||
# 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:
|
||||||
|
|
Loading…
Reference in a new issue