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

Unified Diff: presubmit_canned_checks.py

Issue 9365077: [depot_tools] Removing unnecessary capturing regex. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 10 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_canned_checks.py
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py
index 7cb8c5f35a4b38ac570516d25bb6fb362c408985..0a92e3ae03a8ee555fc4f63b77c1b282fe1c4943 100644
--- a/presubmit_canned_checks.py
+++ b/presubmit_canned_checks.py
@@ -856,7 +856,7 @@ def PanProjectChecks(input_api, output_api,
r'All rights reserved\.\n'
r'.*? Use of this source code is governed by a BSD-style license that '
r'can be\n'
- r'.*? found in the LICENSE file\.( \*/)?\n'
+ r'.*? found in the LICENSE file\.(?: \*/)?\n'
) % {
'year': input_api.time.strftime('%Y'),
'project': project_name,
« 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