summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-09-14 08:58:21 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-09-14 08:58:21 -0400
commit15842b97cd9a7b9232936e4c558ddb2d27231412 (patch)
tree58583491ebdc7577f85b185ea9146fa20272e975 /coverage/config.py
parent3532b93a971bac212054b4e5669339303b794570 (diff)
downloadpython-coveragepy-git-15842b97cd9a7b9232936e4c558ddb2d27231412.tar.gz
Polish up substitute_variables based on a lightning talk
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/config.py b/coverage/config.py
index 85493df1..7d691145 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -87,7 +87,7 @@ class HandyConfigParser(configparser.RawConfigParser):
raise configparser.NoOptionError
v = configparser.RawConfigParser.get(self, real_section, option, *args, **kwargs)
- v = substitute_variables(v)
+ v = substitute_variables(v, os.environ)
return v
def getlist(self, section, option):