aboutsummaryrefslogtreecommitdiff
path: root/crosperf/test_flag.py
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@chromium.org>2016-07-29 15:48:50 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-29 17:43:54 -0700
commit12d0f2398963f4b9eaded60786422a455f199e45 (patch)
tree6602dbc9a19d982efbd5850d117a83ebed48e66e /crosperf/test_flag.py
parent40ca64bca93984da431ff83739467553bcf7882e (diff)
downloadtoolchain-utils-12d0f2398963f4b9eaded60786422a455f199e45.tar.gz
crosperf: fix lint warnings.
This fixes the lint warnings from these four files. BUG=chromium:632108 TEST=the lint warnings are gone. Change-Id: Ia923a1e9b8b5ec5d48a02caa1f8ed611857f0ec5 Reviewed-on: https://chrome-internal-review.googlesource.com/272021 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/test_flag.py')
-rw-r--r--crosperf/test_flag.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/crosperf/test_flag.py b/crosperf/test_flag.py
index 0305eea7..70918693 100644
--- a/crosperf/test_flag.py
+++ b/crosperf/test_flag.py
@@ -1,12 +1,12 @@
# Copyright 2011 Google Inc. All Rights Reserved.
"""A global variable for testing."""
-_is_test = [False]
+is_test = [False]
def SetTestMode(flag):
- _is_test[0] = flag
+ is_test[0] = flag
def GetTestMode():
- return _is_test[0]
+ return is_test[0]