Compare to None with is/is not

This commit is contained in:
Daniel Ingram
2018-12-10 15:11:37 -05:00
parent 1b89074ae2
commit 17b55202da
6 changed files with 14 additions and 14 deletions

View File

@@ -491,7 +491,7 @@ def get_git_change_year_range(filename):
def file_already_has_core_copyright(file_lines):
index, _ = get_updatable_copyright_line(file_lines)
return index != None
return index is not None
################################################################################
# insert header execution