]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts: python3: get rid of __future__ imports
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 2 Jun 2016 10:12:52 +0000 (13:12 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2016 10:47:27 +0000 (11:47 +0100)
Removed print_function and with_statement imports from __future__
as they're supported by python 3 by default.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/bitbake-whatchanged
scripts/pybootchartgui/pybootchartgui/main.py.in
scripts/pybootchartgui/pybootchartgui/parsing.py
scripts/wic

index b05aead9a1a6d90729c085f103e9c4c2fed85bb0..55b61d0a906c9c09ebe95d499b400dc5c421735e 100755 (executable)
@@ -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
index 21bb0be3a79b0ec623f1b52a9284d0de1f741010..af26bd22961e68b924326a4f47ea28159d33f459 100644 (file)
@@ -16,8 +16,6 @@
 #  You should have received a copy of the GNU General Public License
 #  along with pybootchartgui. If not, see <http://www.gnu.org/licenses/>.
 
-from __future__ import print_function
-
 import sys
 import os
 import optparse
index d423b9f77c0e82be7f10ec78bc65f0bf43ff49fe..a3a0b0b339703aac57140d183abb7839a1a95d32 100644 (file)
@@ -13,9 +13,6 @@
 #  You should have received a copy of the GNU General Public License
 #  along with pybootchartgui. If not, see <http://www.gnu.org/licenses/>.
 
-
-from __future__ import with_statement
-
 import os
 import string
 import re
index 5cc06f4c495f3cc8a4c6ae8489dc938251de1281..9023755302ae29dd2429a149f81e800ccc3676a4 100755 (executable)
@@ -28,8 +28,6 @@
 # AUTHORS
 # Tom Zanussi <tom.zanussi (at] linux.intel.com>
 #
-from __future__ import print_function
-
 __version__ = "0.2.0"
 
 # Python Standard Library modules