Index: build/android/pylib/host_driven/test_server.py |
diff --git a/build/android/pylib/host_driven/test_server.py b/build/android/pylib/host_driven/test_server.py |
index 07835000fd95e940a65ce79bb538de8aecf69b55..af58ddc2656548612a3fdf9c607c2db06c5a1b5a 100644 |
--- a/build/android/pylib/host_driven/test_server.py |
+++ b/build/android/pylib/host_driven/test_server.py |
@@ -117,11 +117,11 @@ class TestServer(object): |
while retries < 5: |
try: |
d = urllib2.urlopen(test_url).read() |
- logging.info('URL %s GOT: %s' % (test_url, d)) |
+ logging.info('URL %s GOT: %s', test_url, d) |
if d.startswith(expected_response): |
break |
- except Exception as e: |
- logging.info('URL %s GOT: %s' % (test_url, e)) |
+ except Exception as e: # pylint: disable=broad-except |
+ logging.info('URL %s GOT: %s', test_url, e) |
time.sleep(retries * 0.1) |
retries += 1 |