aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-01-03 16:04:24 -0500
committerGitHub <noreply@github.com>2017-01-03 16:04:24 -0500
commit56e2c46ce1cb1ffb4f0fe56c6462954dd00f33c4 (patch)
tree5c21f10908d00cf9c74d9d386380c42cff73060f /mesonbuild/mesonmain.py
parent55cdba635e61b68658e0d209a58cfb2f1537df93 (diff)
parentef3cc6b3fabb1032066e7c8ecfd67dc4e1169193 (diff)
downloadmeson-56e2c46ce1cb1ffb4f0fe56c6462954dd00f33c4.zip
meson-56e2c46ce1cb1ffb4f0fe56c6462954dd00f33c4.tar.gz
meson-56e2c46ce1cb1ffb4f0fe56c6462954dd00f33c4.tar.bz2
Merge pull request #1272 from mesonbuild/ignatenko/lint
fix some linting errors
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index 98d072b..23501f8 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -29,7 +29,7 @@ default_warning = '1'
def add_builtin_argument(name, **kwargs):
k = kwargs.get('dest', name.replace('-', '_'))
c = coredata.get_builtin_option_choices(k)
- b = True if kwargs.get('action', None) in [ 'store_true', 'store_false' ] else False
+ b = True if kwargs.get('action', None) in ['store_true', 'store_false'] else False
h = coredata.get_builtin_option_description(k)
if not b:
h = h.rstrip('.') + ' (default: %s).' % coredata.get_builtin_option_default(k)