diff options
author | garykac <garykac@chromium.org> | 2014-11-03 15:26:21 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-03 23:27:42 +0000 |
commit | bdd4f78efaddf63ae48c65036d1183435e25bd37 (patch) | |
tree | 42105d384bdcf9bf845bb4618f1f06cf64c0eb45 /remoting/tools | |
parent | 4948d9b8259a38b52c2da1a4acca539d4289785f (diff) | |
download | chromium_src-bdd4f78efaddf63ae48c65036d1183435e25bd37.zip chromium_src-bdd4f78efaddf63ae48c65036d1183435e25bd37.tar.gz chromium_src-bdd4f78efaddf63ae48c65036d1183435e25bd37.tar.bz2 |
[Chromoting] Remove warning for unused strings.
BUG=
Review URL: https://codereview.chromium.org/684373002
Cr-Commit-Position: refs/heads/master@{#302515}
Diffstat (limited to 'remoting/tools')
-rwxr-xr-x | remoting/tools/verify_resources.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/remoting/tools/verify_resources.py b/remoting/tools/verify_resources.py index b041af4..6677add 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 |