summaryrefslogtreecommitdiff
path: root/ghwt.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-01-27 17:55:48 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-01-27 22:22:12 +0200
commit7375eaa26393027e68a45a8c1fdcb0ec81b2200a (patch)
tree1b0214b55980ef23d4728060926062eac1feedaa /ghwt.py
parent8cb2cbaed28df42932d4c5399803f746c02f629c (diff)
downloadmeson-7375eaa26393027e68a45a8c1fdcb0ec81b2200a.tar.gz
Always disable interpolation for ini parsers.
Diffstat (limited to 'ghwt.py')
-rwxr-xr-xghwt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghwt.py b/ghwt.py
index 970c72f8e..4e1c9b436 100755
--- a/ghwt.py
+++ b/ghwt.py
@@ -43,7 +43,7 @@ def unpack(sproj, branch, outdir):
subprocess.check_call(['git', 'clone', '-b', branch, 'https://github.com/mesonbuild/{}.git'.format(sproj), outdir])
usfile = os.path.join(outdir, 'upstream.wrap')
assert(os.path.isfile(usfile))
- config = configparser.ConfigParser()
+ config = configparser.ConfigParser(interpolation=None)
config.read(usfile)
us_url = config['wrap-file']['source_url']
us = urllib.request.urlopen(us_url, timeout=req_timeout).read()