From 77ae2daad5d775d710b953cf0c623ce74cb2c274 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 2 Jun 2016 13:12:52 +0300 Subject: 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 --- scripts/pybootchartgui/pybootchartgui/main.py.in | 2 -- scripts/pybootchartgui/pybootchartgui/parsing.py | 3 --- 2 files changed, 5 deletions(-) (limited to 'scripts/pybootchartgui') diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in index 21bb0be3a7..af26bd2296 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 d423b9f77c..a3a0b0b339 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 -- cgit 1.2.3-korg