diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-02 13:12:52 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:29 +0100 |
commit | b05bf8c6bd82656c80b358de14cdbb9dc1f8b64f (patch) | |
tree | 368a3e33b33c34d2f472290dbbc57ee9b0fa0382 /scripts | |
parent | 793b83a3c6b5853d220214642191b11e4bba9f68 (diff) | |
download | poky-b05bf8c6bd82656c80b358de14cdbb9dc1f8b64f.tar.gz |
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.
(From OE-Core rev: 77ae2daad5d775d710b953cf0c623ce74cb2c274)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bitbake-whatchanged | 1 | ||||
-rw-r--r-- | scripts/pybootchartgui/pybootchartgui/main.py.in | 2 | ||||
-rw-r--r-- | scripts/pybootchartgui/pybootchartgui/parsing.py | 3 | ||||
-rwxr-xr-x | scripts/wic | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged index b05aead9a1..55b61d0a90 100755 --- a/scripts/bitbake-whatchanged +++ b/scripts/bitbake-whatchanged | |||
@@ -17,7 +17,6 @@ | |||
17 | # along with this program; if not, write to the Free Software | 17 | # along with this program; if not, write to the Free Software |
18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | 19 | ||
20 | from __future__ import print_function | ||
21 | import os | 20 | import os |
22 | import sys | 21 | import sys |
23 | import getopt | 22 | import getopt |
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 @@ | |||
16 | # You should have received a copy of the GNU General Public License | 16 | # You should have received a copy of the GNU General Public License |
17 | # along with pybootchartgui. If not, see <http://www.gnu.org/licenses/>. | 17 | # along with pybootchartgui. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import sys | 19 | import sys |
22 | import os | 20 | import os |
23 | import optparse | 21 | 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 @@ | |||
13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
14 | # along with pybootchartgui. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with pybootchartgui. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | ||
16 | |||
17 | from __future__ import with_statement | ||
18 | |||
19 | import os | 16 | import os |
20 | import string | 17 | import string |
21 | import re | 18 | import re |
diff --git a/scripts/wic b/scripts/wic index 5cc06f4c49..9023755302 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -28,8 +28,6 @@ | |||
28 | # AUTHORS | 28 | # AUTHORS |
29 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> | 29 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> |
30 | # | 30 | # |
31 | from __future__ import print_function | ||
32 | |||
33 | __version__ = "0.2.0" | 31 | __version__ = "0.2.0" |
34 | 32 | ||
35 | # Python Standard Library modules | 33 | # Python Standard Library modules |