]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: remove with_statement imports
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 4 May 2016 13:06:18 +0000 (16:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 May 2016 06:26:42 +0000 (07:26 +0100)
'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.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/imager/baseimager.py

index 463ae931367b43b38cebe060ca3f3d609b3fc063..1a52dd8b4de826f491ceead6fcefae8e2a41beae 100644 (file)
@@ -16,7 +16,6 @@
 # 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 with_statement
 import os
 import tempfile
 import shutil