diff options
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/coredata.py | 2 | ||||
-rw-r--r-- | mesonbuild/wrap/wraptool.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index 2b7be7b..9d5e7ce 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -228,7 +228,7 @@ class UserFeatureOption(UserComboOption): def load_configs(filenames: T.List[str]) -> configparser.ConfigParser: """Load configuration files from a named subdirectory.""" - config = configparser.ConfigParser() + config = configparser.ConfigParser(interpolation=None) config.read(filenames) return config diff --git a/mesonbuild/wrap/wraptool.py b/mesonbuild/wrap/wraptool.py index 351669b..e01e159 100644 --- a/mesonbuild/wrap/wraptool.py +++ b/mesonbuild/wrap/wraptool.py @@ -105,7 +105,7 @@ def parse_patch_url(patch_url): return arr[-3], int(arr[-2]) def get_current_version(wrapfile): - cp = configparser.ConfigParser() + cp = configparser.ConfigParser(interpolation=None) cp.read(wrapfile) cp = cp['wrap-file'] patch_url = cp['patch_url'] |