commit | 8d36be9bb9cf1dd8e9e79d2cf84ff48290286380 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Apr 20 01:24:49 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Apr 20 01:24:49 2021 +0000 |
tree | 90a2bbc78326c5aaf9610b8e5c0fdfdcb9dc953e | |
parent | b82fcdaf36d6a48e56c9849f06bb5f2bc019a0b2 [diff] | |
parent | 77d976cd65fdffdf405f62c0d0f6ce5833be7b5c [diff] |
Merge "Ignore backup files left by emacs."
diff --git a/libc/tools/generate_notice.py b/libc/tools/generate_notice.py index e4318b2..e004d74 100755 --- a/libc/tools/generate_notice.py +++ b/libc/tools/generate_notice.py
@@ -38,6 +38,9 @@ return False if path.name in {"notice", "readme", "pylintrc"}: return False + # Backup files for some editors. + if path.match("*~"): + return False return True