diff options
author | Daniel Ingram <ingramds@appstate.edu> | 2018-12-09 15:55:13 -0500 |
---|---|---|
committer | Daniel Ingram <ingramds@appstate.edu> | 2018-12-09 15:55:13 -0500 |
commit | 1b89074ae27ce123adbeed57343deaef13c14f81 (patch) | |
tree | fb4f24ce7b087e01ba72a7e54eae216f75dbe0f6 /contrib | |
parent | 16d293772365d57cc1a279d5ad0fa6f44b12ed54 (diff) |
Change '== None' to 'is None'
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/devtools/clang-format-diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/clang-format-diff.py b/contrib/devtools/clang-format-diff.py index 77e845a9b4..f322b3a880 100755 --- a/contrib/devtools/clang-format-diff.py +++ b/contrib/devtools/clang-format-diff.py @@ -109,7 +109,7 @@ def main(): match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line) if match: filename = match.group(2) - if filename == None: + if filename is None: continue if args.regex is not None: |