Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: PRESUBMIT.py

Issue 556059: Tolerate the form 20xx-20xx for copyrights since it's used in a few headers. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 7339de109478f22025ded9d7fa4089ede8fe5d42..d0b0a41bf5ec7458c9099bbd5620be2522b6dbf4 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -20,8 +20,8 @@ _TEXT_FILES = (
)
_LICENSE_HEADER = (
- r".*? Copyright \(c\) 20\d\d The Chromium Authors\. All rights reserved\."
- "\n"
+ r".*? Copyright \(c\) 20[0-9\-]{2,7} The Chromium Authors\. All rights "
+ r"reserved\." "\n"
r".*? Use of this source code is governed by a BSD-style license that can "
"be\n"
r".*? found in the LICENSE file\."
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698