Change '== None' to 'is None'

This commit is contained in:
Daniel Ingram 2018-12-09 15:55:13 -05:00
parent 16d2937723
commit 1b89074ae2

View file

@ -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: