diff options
author | yangxurong <yangxurong@huawei.com> | 2014-03-13 10:00:11 +0800 |
---|---|---|
committer | yangxurong <yangxurong@huawei.com> | 2014-03-13 11:34:16 +0800 |
commit | daf7998996abf18f873ce1a5d2a65846a808b356 (patch) | |
tree | 4423504b8be5286999dbf4601f9c7141fd748c73 /tools | |
parent | 287fe8478ab47221fa1c6a40e10cfd79e4022709 (diff) | |
download | ironic-daf7998996abf18f873ce1a5d2a65846a808b356.tar.gz |
Do not use __builtin__ in python3
__builtin__ does not exist in Python 3, use
six.moves.builtins instead.
Change-Id: I79b61b5ab67f491ce88015f799ff7d66c9eeb7ee
closes-bug: #1290234
Diffstat (limited to 'tools')
-rw-r--r-- | tools/flakes.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/flakes.py b/tools/flakes.py index 191bd6eab..6869a4477 100644 --- a/tools/flakes.py +++ b/tools/flakes.py @@ -7,9 +7,8 @@ __all__ = ['main'] -import __builtin__ as builtins import sys - +import six.moves.builtins as builtins import pyflakes.api from pyflakes import checker |