diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-31 14:33:42 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-31 16:28:15 +0200 |
commit | b55235dfbde37661d24881eb989ee651ed9289c5 (patch) | |
tree | 5478d7a8483b30ec38338a0482bb52f8941b746c /mesonbuild/mintro.py | |
parent | 504f974204c79a08d17224c2a91582a47c64fe68 (diff) | |
download | meson-b55235dfbde37661d24881eb989ee651ed9289c5.zip meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.gz meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.bz2 |
Fix space before :.
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r-- | mesonbuild/mintro.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 3f1d209..892770c 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -112,18 +112,18 @@ def list_target_files(target_name, coredata, builddata): def list_buildoptions(coredata, builddata): buildtype= {'choices': ['plain', 'debug', 'debugoptimized', 'release', 'minsize'], - 'type' : 'combo', - 'value' : coredata.get_builtin_option('buildtype'), - 'description' : 'Build type', - 'name' : 'type'} - strip = {'value' : coredata.get_builtin_option('strip'), - 'type' : 'boolean', - 'description' : 'Strip on install', - 'name' : 'strip'} - unity = {'value' : coredata.get_builtin_option('unity'), - 'type' : 'boolean', - 'description' : 'Unity build', - 'name' : 'unity'} + 'type': 'combo', + 'value': coredata.get_builtin_option('buildtype'), + 'description': 'Build type', + 'name': 'type'} + strip = {'value': coredata.get_builtin_option('strip'), + 'type': 'boolean', + 'description': 'Strip on install', + 'name': 'strip'} + unity = {'value': coredata.get_builtin_option('unity'), + 'type': 'boolean', + 'description': 'Unity build', + 'name': 'unity'} optlist = [buildtype, strip, unity] add_keys(optlist, coredata.user_options) add_keys(optlist, coredata.compiler_options) @@ -198,8 +198,8 @@ def list_projinfo(builddata): result['version'] = builddata.project_version subprojects = [] for k, v in builddata.subprojects.items(): - c = {'name' : k, - 'version' : v} + c = {'name': k, + 'version': v} subprojects.append(c) result['subprojects'] = subprojects print(json.dumps(result)) |