diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-05-22 17:08:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 17:08:44 +0300 |
commit | 2b1ca518cfce52dc5e8da086efca563677c353e4 (patch) | |
tree | 899bafe2681288744975fe7cb6affd9cd756ddf0 /mesonbuild/mesonlib.py | |
parent | 2fd838d62dc16af0687b4be7da4ffb28cb6a9725 (diff) | |
parent | cb4e4f625f8f191eb5ed1bd435a263b0c7bd11cf (diff) | |
download | meson-2b1ca518cfce52dc5e8da086efca563677c353e4.zip meson-2b1ca518cfce52dc5e8da086efca563677c353e4.tar.gz meson-2b1ca518cfce52dc5e8da086efca563677c353e4.tar.bz2 |
Merge pull request #7123 from dcbaker/use-feature-deprecated
Use FeatureDeprecated (and other cleanups)
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r-- | mesonbuild/mesonlib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index b901ec9..26fe6eb 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -39,8 +39,10 @@ _U = T.TypeVar('_U') have_fcntl = False have_msvcrt = False +# TODO: this is such a hack, this really should be either in coredata or in the +# interpreter # {subproject: project_meson_version} -project_meson_versions = {} # type: T.Dict[str, str] +project_meson_versions = collections.defaultdict(str) # type: T.DefaultDict[str, str] try: import fcntl |