diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 08:22:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:02 +0100 |
commit | ef1df516512587ad415f76a9626620992d660e45 (patch) | |
tree | 6b4e30dbc7ab8cb17fb877c82ccf7593138c88cc /bitbake | |
parent | deca1476459ab306dc5c80171fdf0d227decbea4 (diff) | |
download | poky-ef1df516512587ad415f76a9626620992d660e45.tar.gz |
bitbake: bitbake: Drop futures usage since we're python 3
(Bitbake rev: bf25f05ce4db11466e62f134f9a6916f886a93d9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/exceptions.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/perforce.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 3 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 2 |
6 files changed, 4 insertions, 8 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index fb86446d47..11f17efa6f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -22,7 +22,7 @@ | |||
22 | # with this program; if not, write to the Free Software Foundation, Inc., | 22 | # with this program; if not, write to the Free Software Foundation, Inc., |
23 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 23 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
24 | 24 | ||
25 | from __future__ import print_function | 25 | |
26 | import sys, os, glob, os.path, re, time | 26 | import sys, os, glob, os.path, re, time |
27 | import atexit | 27 | import atexit |
28 | import itertools | 28 | import itertools |
diff --git a/bitbake/lib/bb/exceptions.py b/bitbake/lib/bb/exceptions.py index f182c8fd62..eadfc57157 100644 --- a/bitbake/lib/bb/exceptions.py +++ b/bitbake/lib/bb/exceptions.py | |||
@@ -1,4 +1,4 @@ | |||
1 | from __future__ import absolute_import | 1 | |
2 | import inspect | 2 | import inspect |
3 | import traceback | 3 | import traceback |
4 | import bb.namedtuple_with_abc | 4 | import bb.namedtuple_with_abc |
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 7d2f3504c8..14fe3c753a 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -25,8 +25,6 @@ BitBake build tools. | |||
25 | # | 25 | # |
26 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig | 26 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig |
27 | 27 | ||
28 | from __future__ import absolute_import | ||
29 | from __future__ import print_function | ||
30 | import os, re | 28 | import os, re |
31 | import signal | 29 | import signal |
32 | import logging | 30 | import logging |
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index 3a10c7ca33..1aef246942 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py | |||
@@ -25,7 +25,6 @@ BitBake build tools. | |||
25 | # | 25 | # |
26 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig | 26 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig |
27 | 27 | ||
28 | from future_builtins import zip | ||
29 | import os | 28 | import os |
30 | import subprocess | 29 | import subprocess |
31 | import logging | 30 | import logging |
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 5f55af5ef8..bc3a2f8826 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -21,8 +21,7 @@ | |||
21 | # with this program; if not, write to the Free Software Foundation, Inc., | 21 | # with this program; if not, write to the Free Software Foundation, Inc., |
22 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 22 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
23 | 23 | ||
24 | from __future__ import absolute_import | 24 | |
25 | from future_builtins import filter | ||
26 | import re | 25 | import re |
27 | import string | 26 | import string |
28 | import logging | 27 | import logging |
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index ef72c3700f..c54a07979d 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -25,7 +25,7 @@ | |||
25 | # with this program; if not, write to the Free Software Foundation, Inc., | 25 | # with this program; if not, write to the Free Software Foundation, Inc., |
26 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 26 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
27 | 27 | ||
28 | from __future__ import absolute_import | 28 | |
29 | import re, bb, os | 29 | import re, bb, os |
30 | import logging | 30 | import logging |
31 | import bb.build, bb.utils | 31 | import bb.build, bb.utils |