Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Make license presubmit check less strict
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thakis@chromium.org committed Apr 29, 2011
1 parent 045f63b commit 8eab3c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/PRESUBMIT.py
Expand Up @@ -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?$',
Expand Down

0 comments on commit 8eab3c0

Please sign in to comment.