Change '== None' to 'is None'
This commit is contained in:
1 parent
16d2937723
commit
1b89074ae2
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user