Compare to None with is/is not

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

No files matched your search

+1 -1
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