diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-01-07 13:47:27 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-02-11 12:50:32 -0800 |
commit | 5b896ed70bbf18e633bbeca442c90610e3d66a22 (patch) | |
tree | 1205d983b474f4e97eb596769f410cc6ffc399d6 /mesonbuild/mconf.py | |
parent | b50899419cb2de27af34e5a955695a61c2863c51 (diff) | |
download | meson-5b896ed70bbf18e633bbeca442c90610e3d66a22.zip meson-5b896ed70bbf18e633bbeca442c90610e3d66a22.tar.gz meson-5b896ed70bbf18e633bbeca442c90610e3d66a22.tar.bz2 |
allow setting directory locations in a native file
This allows the person running configure (either a developer, user, or
distro maintainer) to keep a configuration of where various kinds of
files should end up.
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 48f88e8..a3feebe 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -102,8 +102,7 @@ class Conf: if not options: print(' No {}\n'.format(title.lower())) arr = [] - for k in sorted(options): - o = options[k] + for k, o in sorted(options.items()): d = o.description v = o.printable_value() c = o.choices |