From: Tom Zanussi Date: Tue, 22 Oct 2013 14:23:57 +0000 (-0500) Subject: wic: eliminate module checks X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db034f07bfc47d930e68f967e0fb1f4516aae889;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git wic: eliminate module checks We're removing all external dependencies including rpm and urlgrabber, so we don't need this check. (From OE-Core rev: 429c0d72b9b8bfed34832e283be92996e074b9ac) Signed-off-by: Tom Zanussi Signed-off-by: Richard Purdie --- diff --git a/scripts/wic b/scripts/wic index 08473d3df4b..b6fd16c5df7 100755 --- a/scripts/wic +++ b/scripts/wic @@ -38,16 +38,6 @@ import optparse import logging # External modules -try: - import rpm - import urlgrabber -except ImportError: - print("ERROR: failed to import necessary modules.") - print("Please ensure the following modules are installed:") - print("\trpm"); - print("\turlgrabber"); - sys.exit(1) - scripts_path = os.path.abspath(os.path.dirname(os.path.abspath(sys.argv[0]))) lib_path = scripts_path + '/lib' sys.path = sys.path + [lib_path]