aboutsummaryrefslogtreecommitdiff
path: root/crosperf
diff options
context:
space:
mode:
authorRahul Chaudhry <rahulchaudhry@chromium.org>2015-12-30 17:05:14 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-04 20:39:25 +0000
commitcbc5a2617f8d63e3319e159eab2c407952df1df9 (patch)
tree6cf71747d12dc0c4f5f9c1d14f82848ffd14a7c4 /crosperf
parent278fc7437c8a31554903161eadfac2550507a47f (diff)
downloadtoolchain-utils-cbc5a2617f8d63e3319e159eab2c407952df1df9.tar.gz
toolchain-utils: fix missing-print-function lint warnings.
BUG=chromium:570458 TEST='crosperf/run_tests.sh' passes. Change-Id: I2e0cf0d903b0ca7662132528ee6860ea8eaee83b Reviewed-on: https://chrome-internal-review.googlesource.com/243412 Commit-Ready: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf')
-rwxr-xr-xcrosperf/crosperf.py2
-rwxr-xr-xcrosperf/experiment_runner_unittest.py3
-rwxr-xr-xcrosperf/machine_manager_unittest.py3
-rw-r--r--crosperf/suite_runner.py2
4 files changed, 10 insertions, 0 deletions
diff --git a/crosperf/crosperf.py b/crosperf/crosperf.py
index 2466ac6c..cc2c9010 100755
--- a/crosperf/crosperf.py
+++ b/crosperf/crosperf.py
@@ -3,6 +3,8 @@
# Copyright 2011 Google Inc. All Rights Reserved.
"""The driver script for running performance benchmarks on ChromeOS."""
+from __future__ import print_function
+
import atexit
import optparse
import os
diff --git a/crosperf/experiment_runner_unittest.py b/crosperf/experiment_runner_unittest.py
index fe5733e4..320c5014 100755
--- a/crosperf/experiment_runner_unittest.py
+++ b/crosperf/experiment_runner_unittest.py
@@ -1,6 +1,9 @@
#!/usr/bin/python2
#
# Copyright 2014 Google Inc. All Rights Reserved
+
+from __future__ import print_function
+
import StringIO
import getpass
import os
diff --git a/crosperf/machine_manager_unittest.py b/crosperf/machine_manager_unittest.py
index f0084a0d..440f9bba 100755
--- a/crosperf/machine_manager_unittest.py
+++ b/crosperf/machine_manager_unittest.py
@@ -2,6 +2,9 @@
# Copyright 2012 Google Inc. All Rights Reserved.
"""Unittest for machine_manager."""
+
+from __future__ import print_function
+
import os.path
import time
import hashlib
diff --git a/crosperf/suite_runner.py b/crosperf/suite_runner.py
index 527aa984..b76f85e9 100644
--- a/crosperf/suite_runner.py
+++ b/crosperf/suite_runner.py
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from __future__ import print_function
+
import os
import time
import shlex