From a991ff934825f79916e7a143e5b7af9f47679d5d Mon Sep 17 00:00:00 2001 From: Huang Hao Date: Fri, 22 Feb 2013 18:42:39 +0800 Subject: [PATCH] Remove import warnings of imager.fs module * sys and subprocess are useless * avoid to import * from utils.fs_related * import baseimager in absolute way Change-Id: I44c970402f06da32a576c68d4650dd7dd010fa1c --- mic/imager/fs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mic/imager/fs.py b/mic/imager/fs.py index e9ef00e..d53b29c 100644 --- a/mic/imager/fs.py +++ b/mic/imager/fs.py @@ -15,13 +15,13 @@ # with this program; if not, write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. -import os, sys +import os -from baseimager import BaseImageCreator from mic import msger from mic.utils import runner, misc -from mic.utils.fs_related import * -from subprocess import call +from mic.utils.errors import CreatorError +from mic.utils.fs_related import find_binary_path +from mic.imager.baseimager import BaseImageCreator class FsImageCreator(BaseImageCreator): def __init__(self, cfgmgr = None, pkgmgr = None): -- 2.7.4