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

Unified Diff: tools/licenses.py

Issue 2802863004: Improve error message of //tools/licenses.py. (Closed)
Patch Set: Created 3 years, 8 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: tools/licenses.py
diff --git a/tools/licenses.py b/tools/licenses.py
index 17dc94a3aab165e29e891a19b42189909aec5750..422d42bd5883b5971cd96797882aeb282ed8242b 100755
--- a/tools/licenses.py
+++ b/tools/licenses.py
@@ -358,7 +358,7 @@ def ParseDir(path, root, require_license_file=True, optional_keys=None):
readme_path = os.path.join(root, path, 'README.chromium')
if not os.path.exists(readme_path):
raise LicenseError("missing README.chromium or licenses.py "
- "SPECIAL_CASES entry")
+ "SPECIAL_CASES entry in %s" % path)
for line in open(readme_path):
line = line.strip()
« 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