diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-29 12:11:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 12:11:24 +0100 |
commit | 8650793eaca42c302dd9638c29caf39a3e152a50 (patch) | |
tree | a59922c89c0e1f1cddb2f63f69f7c58acf09dacd /methods.py | |
parent | 69ccccaf719d488d3a5d3417265f8d822d0c970e (diff) | |
parent | edcca5f7ad2ba92b3e04fb153f7db55c08593469 (diff) |
Merge pull request #23317 from lupoDharkael/py-none
Dont use equality operators with None singleton in python files
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py index 0cf05751a8..111a2347be 100644 --- a/methods.py +++ b/methods.py @@ -330,7 +330,7 @@ def split_lib(self, libname, src_list = None, env_lib = None): list = [] lib_list = [] - if src_list == None: + if src_list is None: src_list = getattr(env, libname + "_sources") if type(env_lib) == type(None): |