Skip to content

Commit 1b89074

Browse files
Change '== None' to 'is None'
1 parent 16d2937 commit 1b89074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/devtools/clang-format-diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def main():
109109
match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line)
110110
if match:
111111
filename = match.group(2)
112-
if filename == None:
112+
if filename is None:
113113
continue
114114

115115
if args.regex is not None:

0 commit comments

Comments
 (0)