diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-16 11:12:17 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-16 11:12:17 -0700 |
commit | d941ca1b19e7016251966d676b33611f56dc56c1 (patch) | |
tree | e710c0d432bca4c5b42d19a31a4292231fc93272 /mesonbuild/mconf.py | |
parent | 0b66a106e3a30a3e751a1e71765ad281f23c33a6 (diff) | |
download | meson-d941ca1b19e7016251966d676b33611f56dc56c1.zip meson-d941ca1b19e7016251966d676b33611f56dc56c1.tar.gz meson-d941ca1b19e7016251966d676b33611f56dc56c1.tar.bz2 |
mconf: Don't change the type of coredata.deps
Which is an OrderedDict, but mconf changes to a plain dict. This will
work fine with Python 3.7+, but not with 3.5 and 3.6
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 3b50d55..b62c8b3 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -63,7 +63,7 @@ class Conf: raise ConfException('Directory {} is neither a Meson build directory nor a project source directory.'.format(build_dir)) def clear_cache(self): - self.coredata.deps = {} + self.coredata.deps.clear() def set_options(self, options): self.coredata.set_options(options) |