diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-04 16:06:18 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:13 +0100 |
commit | ed10a80c2c113acbdd1c9602a4a7d0d8fc799a62 (patch) | |
tree | 264495e13a7f3eb60d7bcb91da71b274f25ac462 /scripts/lib | |
parent | dac0e809b71323318e0f6501a9f67c303438a236 (diff) | |
download | poky-ed10a80c2c113acbdd1c9602a4a7d0d8fc799a62.tar.gz |
wic: remove with_statement imports
'with' statement is not used in baseimager.py
It's supported by Python 2.7, which is included into all target
distros. Other wic modules use this statement.
Removed useless 'from __future__ import with_statement' from
wic code.
(From OE-Core rev: 528a1f20939589949831efbb4de6336776efe7d5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/wic/imager/baseimager.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lib/wic/imager/baseimager.py b/scripts/lib/wic/imager/baseimager.py index 463ae93136..1a52dd8b4d 100644 --- a/scripts/lib/wic/imager/baseimager.py +++ b/scripts/lib/wic/imager/baseimager.py | |||
@@ -16,7 +16,6 @@ | |||
16 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | 16 | # with this program; if not, write to the Free Software Foundation, Inc., 59 |
17 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | from __future__ import with_statement | ||
20 | import os | 19 | import os |
21 | import tempfile | 20 | import tempfile |
22 | import shutil | 21 | import shutil |