summaryrefslogtreecommitdiffstats
path: root/third_party/PRESUBMIT.py
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 17:52:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 17:52:39 +0000
commit0fcbfe48387d973adc3e0a5d630a1dc121f994fb (patch)
tree94cad2bc0db56836bd4d43019bb8481ecba33c92 /third_party/PRESUBMIT.py
parent77015e3c172020c425d88eca66b407ab4ba27795 (diff)
downloadchromium_src-0fcbfe48387d973adc3e0a5d630a1dc121f994fb.zip
chromium_src-0fcbfe48387d973adc3e0a5d630a1dc121f994fb.tar.gz
chromium_src-0fcbfe48387d973adc3e0a5d630a1dc121f994fb.tar.bz2
Make license presubmit check less strict
Allow spaces in the "Name:" field and colors in "Version:". BUG=none TEST=none Review URL: http://codereview.chromium.org/6893125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/PRESUBMIT.py')
-rw-r--r--third_party/PRESUBMIT.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/PRESUBMIT.py b/third_party/PRESUBMIT.py
index 88194cb..8f142b7 100644
--- a/third_party/PRESUBMIT.py
+++ b/third_party/PRESUBMIT.py
@@ -24,13 +24,13 @@ def _CheckThirdPartyReadmesUpdated(input_api, output_api):
return errors
name_pattern = input_api.re.compile(
- r'^Name: [a-zA-Z0-9_\-\.]+\r?$',
+ r'^Name: [a-zA-Z0-9_\-\. ]+\r?$',
input_api.re.IGNORECASE | input_api.re.MULTILINE)
shortname_pattern = input_api.re.compile(
r'^Short Name: [a-zA-Z0-9_\-\.]+\r?$',
input_api.re.IGNORECASE | input_api.re.MULTILINE)
version_pattern = input_api.re.compile(
- r'^Version: [a-zA-Z0-9_\-\.]+\r?$',
+ r'^Version: [a-zA-Z0-9_\-\.:]+\r?$',
input_api.re.IGNORECASE | input_api.re.MULTILINE)
release_pattern = input_api.re.compile(
r'Security Critical: (yes)|(no)\r?$',