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

Issue 117333008: Silence warning about falling back to checked-in adb binary (Closed)

Created:
7 years ago by Sami
Modified:
7 years ago
Reviewers:
frankf
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Silence warning about falling back to checked-in adb binary There's no need to print out a warning about falling back to the checked-in adb binary every time telemetry is run. Also turn ADB_PATH into a memoized function to remove side effects from importing constants.py. This also ensures the right logging level is set before the path is determined so the warning is still printed in debug mode. BUG=329317 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241854

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move function closer to use. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -10 lines) Patch
M build/android/pylib/android_commands.py View 1 6 chunks +7 lines, -6 lines 0 comments Download
M build/android/pylib/constants.py View 1 3 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sami
7 years ago (2013-12-18 11:46:13 UTC) #1
frankf
lgtm https://codereview.chromium.org/117333008/diff/1/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/117333008/diff/1/build/android/pylib/constants.py#newcode17 build/android/pylib/constants.py:17: return func._result just curious: why not use hasattr ...
7 years ago (2013-12-18 18:30:27 UTC) #2
Sami
On 2013/12/18 18:30:27, frankf wrote: > lgtm > > https://codereview.chromium.org/117333008/diff/1/build/android/pylib/constants.py > File build/android/pylib/constants.py (right): > ...
7 years ago (2013-12-18 18:54:14 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/117333008/20001
7 years ago (2013-12-18 18:56:35 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=237870
7 years ago (2013-12-18 23:00:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/117333008/20001
7 years ago (2013-12-19 10:52:10 UTC) #6
commit-bot: I haz the power
7 years ago (2013-12-19 13:53:48 UTC) #7
Message was sent while issue was closed.
Change committed as 241854

Powered by Google App Engine
This is Rietveld 408576698