[oe-commits] [bitbake] 09/11: bitbake: Drop futures usage since we're python 3
git at git.openembedded.org
git at git.openembedded.org
Wed May 11 15:15:37 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 591d3b9bdc0bf74ac1c18c77dd824a30b0e1cbec
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed May 11 14:25:10 2016 +0100
bitbake: Drop futures usage since we're python 3
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/cooker.py | 2 +-
lib/bb/exceptions.py | 2 +-
lib/bb/fetch2/__init__.py | 2 --
lib/bb/fetch2/perforce.py | 1 -
lib/bb/parse/ast.py | 3 +--
5 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index b2187d7..147f4b6 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -22,7 +22,7 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-from __future__ import print_function
+
import sys, os, glob, os.path, re, time
import atexit
import itertools
diff --git a/lib/bb/exceptions.py b/lib/bb/exceptions.py
index f182c8f..eadfc57 100644
--- a/lib/bb/exceptions.py
+++ b/lib/bb/exceptions.py
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+
import inspect
import traceback
import bb.namedtuple_with_abc
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 600e216..701607b 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -25,8 +25,6 @@ BitBake build tools.
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
-from __future__ import absolute_import
-from __future__ import print_function
import os, re
import signal
import logging
diff --git a/lib/bb/fetch2/perforce.py b/lib/bb/fetch2/perforce.py
index 3a10c7c..1aef246 100644
--- a/lib/bb/fetch2/perforce.py
+++ b/lib/bb/fetch2/perforce.py
@@ -25,7 +25,6 @@ BitBake build tools.
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
-from future_builtins import zip
import os
import subprocess
import logging
diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py
index 5f55af5..bc3a2f8 100644
--- a/lib/bb/parse/ast.py
+++ b/lib/bb/parse/ast.py
@@ -21,8 +21,7 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-from __future__ import absolute_import
-from future_builtins import filter
+
import re
import string
import logging
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list