diff options
author | Mike Sinkovsky <msink@permonline.ru> | 2017-01-06 17:34:19 +0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-11 12:33:27 -0500 |
commit | c8981bdd1b116f379bcba9b6555d02f0b21e3471 (patch) | |
tree | e379157783cd8c75f0a7b690318a4a4660b9a587 /mesonbuild/interpreter.py | |
parent | e9a891fe25a49042be0cc9893a449e5e75187a2d (diff) | |
download | meson-c8981bdd1b116f379bcba9b6555d02f0b21e3471.zip meson-c8981bdd1b116f379bcba9b6555d02f0b21e3471.tar.gz meson-c8981bdd1b116f379bcba9b6555d02f0b21e3471.tar.bz2 |
style: [E711] comparison to None should be 'if cond is None:'
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 474a82f..7373fd6 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1405,7 +1405,7 @@ class Interpreter(InterpreterBase): for i in range(min(len(args), len(arg_types))): wanted = arg_types[i] actual = args[i] - if wanted != None: + if wanted is not None: if not isinstance(actual, wanted): raise InvalidArguments('Incorrect argument type.') |