From: Ed Bartosh Date: Thu, 2 Jun 2016 10:12:52 +0000 (+0300) Subject: scripts: python3: get rid of __future__ imports X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25516 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77ae2daad5d775d710b953cf0c623ce74cb2c274;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git scripts: python3: get rid of __future__ imports Removed print_function and with_statement imports from __future__ as they're supported by python 3 by default. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged index b05aead9a1a..55b61d0a906 100755 --- a/scripts/bitbake-whatchanged +++ b/scripts/bitbake-whatchanged @@ -17,7 +17,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -from __future__ import print_function import os import sys import getopt diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in index 21bb0be3a79..af26bd22961 100644 --- a/scripts/pybootchartgui/pybootchartgui/main.py.in +++ b/scripts/pybootchartgui/pybootchartgui/main.py.in @@ -16,8 +16,6 @@ # You should have received a copy of the GNU General Public License # along with pybootchartgui. If not, see . -from __future__ import print_function - import sys import os import optparse diff --git a/scripts/pybootchartgui/pybootchartgui/parsing.py b/scripts/pybootchartgui/pybootchartgui/parsing.py index d423b9f77c0..a3a0b0b3397 100644 --- a/scripts/pybootchartgui/pybootchartgui/parsing.py +++ b/scripts/pybootchartgui/pybootchartgui/parsing.py @@ -13,9 +13,6 @@ # You should have received a copy of the GNU General Public License # along with pybootchartgui. If not, see . - -from __future__ import with_statement - import os import string import re diff --git a/scripts/wic b/scripts/wic index 5cc06f4c495..9023755302a 100755 --- a/scripts/wic +++ b/scripts/wic @@ -28,8 +28,6 @@ # AUTHORS # Tom Zanussi # -from __future__ import print_function - __version__ = "0.2.0" # Python Standard Library modules