Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 """An intermediary used to import the third-party cloud_storage module.""" | |
| 6 | |
| 7 import os | |
| 8 import sys | |
| 9 | |
| 10 sys.path.append(os.path.join( | |
| 11 os.path.dirname(__file__), os.path.pardir, os.path.pardir, | |
| 12 'telemetry')) | |
| 13 | |
| 14 # Pylint is unable to import (F0401) because pylint doesn't modify sys.path. | |
| 15 # A wildcard import is used below (W0401) to get everything from the module. | |
| 16 # The names imported here are not used in this module (W0614). | |
| 17 # pylint: disable=F0401,W0401,W0614 | |
| 18 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
| |
| 19 | |
| OLD | NEW |