Change '== None' to 'is None'
This commit is contained in:
parent
16d2937723
commit
1b89074ae2
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue