Index: tools/auto_bisect/cloud_storage_wrapper.py |
diff --git a/tools/auto_bisect/cloud_storage_wrapper.py b/tools/auto_bisect/cloud_storage_wrapper.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3fdc3e64457d6fa1fc4607864cb7656dcb24b00f |
--- /dev/null |
+++ b/tools/auto_bisect/cloud_storage_wrapper.py |
@@ -0,0 +1,19 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+"""An intermediary used to import the third-party cloud_storage module.""" |
+ |
+import os |
+import sys |
+ |
+sys.path.append(os.path.join( |
+ os.path.dirname(__file__), os.path.pardir, os.path.pardir, |
+ 'telemetry')) |
+ |
+# Pylint is unable to import (F0401) because pylint doesn't modify sys.path. |
+# A wildcard import is used below (W0401) to get everything from the module. |
+# The names imported here are not used in this module (W0614). |
+# pylint: disable=F0401,W0401,W0614 |
+from telemetry.util.cloud_storage import * |
ghost stip (do not use)
2014/09/17 00:12:08
usually importing * is a bad idea.
qyearsley
2014/09/18 22:58:58
Changed this to import just the functions that are
|
+ |