Commit a8944dc9 authored by Mike Frysinger's avatar Mike Frysinger Committed by Commit Bot

build: android: strip trailing blank lines

Newer pylint warns when files have trailing blank lines.  Trim them.

Bug: 866772
Change-Id: Ib0f353d83dd0b86ac0b304c5704a9725867846b2
Reviewed-on: https://chromium-review.googlesource.com/1147719Reviewed-by: default avatarEgor Pasko <pasko@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577591}
parent 02d58f7d
......@@ -167,4 +167,3 @@ def Initialize(output_directory=None, custom_deps=None, adb_path=None):
devil_env.config.Initialize(
configs=[devil_dynamic_config], config_files=[_DEVIL_CONFIG])
......@@ -107,4 +107,3 @@ def main():
if __name__ == '__main__':
sys.exit(main())
......@@ -121,4 +121,3 @@ def _DoMain(argv):
if __name__ == '__main__':
_DoMain(sys.argv[1:])
......@@ -172,4 +172,3 @@ def _OnStaleMd5(proguard_cmd, main_dex_list_cmd, paths, main_dex_list_path,
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -114,5 +114,3 @@ def main():
if __name__ == '__main__':
sys.exit(main())
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -114,4 +114,3 @@ def main():
if __name__ == '__main__':
sys.exit(main())
# Copyright (c) 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -260,4 +260,3 @@ class TestRunResults(object):
def DidRunPass(self):
"""Return whether the test run was successful."""
return not self.GetNotPass() - self.GetSkip()
......@@ -6,4 +6,3 @@
class TestException(Exception):
"""Base class for exceptions thrown by the test runner."""
pass
......@@ -32,4 +32,3 @@ class TestInstance(object):
def __exit__(self, _exc_type, _exc_val, _exc_tb):
self.TearDown()
......@@ -41,4 +41,3 @@ class TestRun(object):
def __exit__(self, exc_type, exc_val, exc_tb):
self.TearDown()
......@@ -54,4 +54,3 @@ def CreateTestRun(args, env, test_instance, error_func):
error_func('Unable to create test run for %s tests in %s environment'
% (str(test_instance), str(env)))
......@@ -16,4 +16,3 @@ class TestServer(object):
def TearDown(self):
raise NotImplementedError
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -555,4 +555,3 @@ class GtestTestInstance(test_instance.TestInstance):
def TearDown(self):
"""Do nothing."""
pass
......@@ -260,4 +260,3 @@ class GtestTestInstanceTests(unittest.TestCase):
if __name__ == '__main__':
unittest.main(verbosity=2)
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -48,4 +48,3 @@ class LinkerTestInstance(test_instance.TestInstance):
def TestType(self):
return 'linker'
......@@ -98,4 +98,3 @@ class LocalTestServerSpawner(test_server.TestServer):
self.Reset()
self._spawning_server.Stop()
forwarder.Forwarder.UnmapDevicePort(self.port, self._device)
......@@ -175,4 +175,3 @@ def ParseResultsFromJson(json_results):
duration=tr['elapsed_time_ms'])
for tr in test_runs])
return results_list
......@@ -178,4 +178,3 @@ class JsonResultsTest(unittest.TestCase):
if __name__ == '__main__':
unittest.main(verbosity=2)
......@@ -92,4 +92,3 @@ def get_viewer_url(name):
def get_logdog_client():
logging.info('Getting logdog client.')
return bootstrap.ButlerBootstrap.probe().stream_client()
......@@ -127,4 +127,3 @@ def PushFilesForTool(tool_name, device):
print 'Unknown tool %s, available tools: %s' % (
tool_name, ', '.join(sorted(TOOL_REGISTRY.keys())))
sys.exit(1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment