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

Unified Diff: remoting/tools/verify_resources.py

Issue 684373002: [Chromoting] Remove warning for unused strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/verify_resources.py
diff --git a/remoting/tools/verify_resources.py b/remoting/tools/verify_resources.py
index b041af4f5b0f5d9ad65cded9c4e8946a642c66c0..6677add5dbf4609d12031891832ad90983afb650 100755
--- a/remoting/tools/verify_resources.py
+++ b/remoting/tools/verify_resources.py
@@ -93,8 +93,7 @@ def VerifyFile(filename, messages, used_tags):
"""
Parse |filename|, looking for tags and report any that are not included in
|messages|. Return True if all tags are present and correct, or False if
- any are missing. If no tags are found, print a warning message and return
- True.
+ any are missing.
"""
base_name, file_type = os.path.splitext(filename)
@@ -118,8 +117,6 @@ def VerifyFile(filename, messages, used_tags):
result = False
print '%s/%s:%d: error: Undefined tag: %s' % \
(os.getcwd(), filename, i + 1, tag)
- if not matches:
- print '%s/%s:0: warning: No tags found' % (os.getcwd(), filename)
f.close()
return result
« no previous file with comments | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698