Allen Li | 5ed7e63 | 2017-02-03 16:31:33 -0800 | [diff] [blame] | 1 | # Copyright 2017 The Chromium OS Authors. All rights reserved. |
Chris Masone | 6a0680f | 2012-03-02 08:40:00 -0800 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
J. Richard Barnette | 3cbd76b | 2013-11-27 12:11:25 -0800 | [diff] [blame] | 4 | |
Allen Li | 5ed7e63 | 2017-02-03 16:31:33 -0800 | [diff] [blame] | 5 | """This module is a hack for backward compatibility. |
Chris Masone | 6a0680f | 2012-03-02 08:40:00 -0800 | [diff] [blame] | 6 | |
Allen Li | 5ed7e63 | 2017-02-03 16:31:33 -0800 | [diff] [blame] | 7 | The real utils module is utils.py |
| 8 | """ |
Simran Basi | af9b8e7 | 2012-10-12 15:02:36 -0700 | [diff] [blame] | 9 | |
Allen Li | 5ed7e63 | 2017-02-03 16:31:33 -0800 | [diff] [blame] | 10 | import warnings |
Simran Basi | af9b8e7 | 2012-10-12 15:02:36 -0700 | [diff] [blame] | 11 | |
Allen Li | c63d07c | 2017-04-27 14:46:09 -0700 | [diff] [blame] | 12 | import common |
| 13 | from autotest_lib.client.common_lib import deprecation |
| 14 | |
| 15 | # pylint: disable=wildcard-import,unused-wildcard-import,redefined-builtin |
Allen Li | 5ed7e63 | 2017-02-03 16:31:33 -0800 | [diff] [blame] | 16 | from .utils import * |
Dan Shi | 42ffd3d | 2016-01-28 13:55:23 -0800 | [diff] [blame] | 17 | |
Allen Li | c63d07c | 2017-04-27 14:46:09 -0700 | [diff] [blame] | 18 | warnings.warn(deprecation.APIDeprecationWarning(__name__), stacklevel=2) |