Skip to content

Commit

Permalink
Revert "Allow escaping curly braces in setenv"
Browse files Browse the repository at this point in the history
This partially reverts commit 3c38762.

Fixes tox-dev#1690
  • Loading branch information
jayvdb committed Oct 17, 2020
1 parent 6303d3f commit 13a9807
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tox/config/__init__.py
Expand Up @@ -390,9 +390,7 @@ def get(self, name, default=None):
return os.environ.get(name, default)
self._lookupstack.append(name)
try:
res = self.reader._replace(val)
res = res.replace("\\{", "{").replace("\\}", "}")
self.resolved[name] = res
self.resolved[name] = res = self.reader._replace(val)
finally:
self._lookupstack.pop()
return res
Expand Down

0 comments on commit 13a9807

Please sign in to comment.