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

Unified Diff: build/android/devil/utils/timeout_retry.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 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 | « build/android/devil/utils/reset_usb.py ('k') | build/android/emma_coverage_stats.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/devil/utils/timeout_retry.py
diff --git a/build/android/devil/utils/timeout_retry.py b/build/android/devil/utils/timeout_retry.py
index b985cbd4fac1d3a0f41e04d61538cb7e620c14f0..3e0dfe6d444784586affdc581b5d08a8d617b96b 100644
--- a/build/android/devil/utils/timeout_retry.py
+++ b/build/android/devil/utils/timeout_retry.py
@@ -113,11 +113,13 @@ def WaitFor(condition, wait_period=5, max_tries=None):
max_tries -= 1
msg = ['condition', repr(condition_name), 'met' if result else 'not met']
if timeout_thread:
+ # pylint: disable=no-member
msg.append('(%.1fs)' % timeout_thread.GetElapsedTime())
logging.info(' '.join(msg))
if result:
return result
if timeout_thread:
+ # pylint: disable=no-member
timeout_thread.GetRemainingTime(wait_period,
msg='Timed out waiting for %r' % condition_name)
time.sleep(wait_period)
« no previous file with comments | « build/android/devil/utils/reset_usb.py ('k') | build/android/emma_coverage_stats.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698