pre-upload: Correct comment about all-caps files
The all-caps file pattern ".*\b[A-Z0-9_]{2,}$" has been removed from
COMMON_EXCLUDED_PATHS in CL:788136. Fix the comment about it.
BUG=none
TEST=cq
Change-Id: I5a047d0db558e3ee7ffed1adba3e28f81c6825e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/repohooks/+/5506947
Tested-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-by: Matt Stark <msta@google.com>
Commit-Queue: Yu-Ping Wu <yupingso@chromium.org>
diff --git a/pre-upload.py b/pre-upload.py
index ca57251..7769860 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -117,8 +117,7 @@
r".*\.rb$",
r".*\.pl$",
r".*\.pm$",
- # No extension at all, note that ALL CAPS files are excluded by
- # COMMON_EXCLUDED_LIST below.
+ # No extension at all
r"(^|.*[\\\/])[^.]+$",
# Other
r".*\.gn",