Skip to content

Commit

Permalink
Change '== None' to 'is None'
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-s-ingram committed Dec 9, 2018
1 parent 16d2937 commit 1b89074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/devtools/clang-format-diff.py
Expand Up @@ -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:
Expand Down

0 comments on commit 1b89074

Please sign in to comment.