Compare commits
No commits in common. "cf305aeebb9a5ab5ef37501dd88a75273472abc3" and "125a85a0af727776a1436d2d7fb68fbb4801b4b4" have entirely different histories.
cf305aeebb
...
125a85a0af
@ -200,11 +200,10 @@ class Configuration(ConfigurationABC):
|
||||
self._additional_arguments.append(arg_str)
|
||||
|
||||
def add_environment_variables(self, prefix: str):
|
||||
for env_var in os.environ.keys():
|
||||
if not env_var.startswith(prefix):
|
||||
continue
|
||||
|
||||
self._set_variable(env_var.replace(prefix, ''), os.environ[env_var])
|
||||
for variable in ConfigurationVariableNameEnum.to_list():
|
||||
var_name = f'{prefix}{variable}'
|
||||
if var_name in [key.upper() for key in os.environ.keys()]:
|
||||
self._set_variable(variable, os.environ[var_name])
|
||||
|
||||
def add_console_argument(self, argument: ArgumentABC):
|
||||
self._argument_types.append(argument)
|
||||
|
Loading…
Reference in New Issue
Block a user