summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-28 18:33:22 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-28 18:33:22 +0000
commit38fdd9d29c917048e35e1655456c56a5eb16e777 (patch)
tree93769c76405b357ea34c52c417bb15bc5a2bb6af /PRESUBMIT.py
parent1dda4022a94ea32b79de8880541bce53d30a89a7 (diff)
downloadchromium_src-38fdd9d29c917048e35e1655456c56a5eb16e777.zip
chromium_src-38fdd9d29c917048e35e1655456c56a5eb16e777.tar.gz
chromium_src-38fdd9d29c917048e35e1655456c56a5eb16e777.tar.bz2
Tolerate the form 20xx-20xx for copyrights since it's used in a few headers.
TEST=none BUG=28291 Review URL: http://codereview.chromium.org/556059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37415 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 7339de1..d0b0a41 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\."