aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools
diff options
context:
space:
mode:
authorDaniel Ingram <ingramds@appstate.edu>2018-12-09 15:55:13 -0500
committerDaniel Ingram <ingramds@appstate.edu>2018-12-09 15:55:13 -0500
commit1b89074ae27ce123adbeed57343deaef13c14f81 (patch)
treefb4f24ce7b087e01ba72a7e54eae216f75dbe0f6 /contrib/devtools
parent16d293772365d57cc1a279d5ad0fa6f44b12ed54 (diff)
Change '== None' to 'is None'
Diffstat (limited to 'contrib/devtools')
-rwxr-xr-xcontrib/devtools/clang-format-diff.py2
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: