[oe-commits] [openembedded-core] 07/21: wic: remove with_statement imports

git at git.openembedded.org git at git.openembedded.org
Fri May 13 17:10:44 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b27c8052c6db53ddf9e80593ca86edd910efd99c
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Wed May 4 16:06:18 2016 +0300

    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.
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/lib/wic/imager/baseimager.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/lib/wic/imager/baseimager.py b/scripts/lib/wic/imager/baseimager.py
index 463ae93..1a52dd8 100644
--- a/scripts/lib/wic/imager/baseimager.py
+++ b/scripts/lib/wic/imager/baseimager.py
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list