diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-01-27 17:55:48 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-01-27 22:22:12 +0200 |
commit | 7375eaa26393027e68a45a8c1fdcb0ec81b2200a (patch) | |
tree | 1b0214b55980ef23d4728060926062eac1feedaa /ghwt.py | |
parent | 8cb2cbaed28df42932d4c5399803f746c02f629c (diff) | |
download | meson-7375eaa26393027e68a45a8c1fdcb0ec81b2200a.tar.gz |
Always disable interpolation for ini parsers.
Diffstat (limited to 'ghwt.py')
-rwxr-xr-x | ghwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |