diff options
Diffstat (limited to 'tox/config.py')
-rw-r--r-- | tox/config.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tox/config.py b/tox/config.py index 37e9260..cd7a84d 100644 --- a/tox/config.py +++ b/tox/config.py @@ -903,7 +903,7 @@ class SectionReader: return '\n'.join(filter(None, map(factor_line, lines))) def _replace_env(self, match): - env_list = self._build_envs_list() + env_list = self.getdict('setenv') match_value = match.group('substitution_value') if not match_value: raise tox.exception.ConfigError( @@ -927,14 +927,6 @@ class SectionReader: else: return env_list.get(envkey, default) - def _build_envs_list(self): - full_envs = self.getargvlist('setenv') - return_data = {} - for item in full_envs: - splitted = " ".join(item).split("=") - return_data[splitted[0]] = splitted[1] - return return_data - def _substitute_from_other_section(self, key): if key.startswith("[") and "]" in key: i = key.find("]") |