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 <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tom Zanussi 2013-10-22 09:23:57 -05:00 committed by Richard Purdie
parent ce2dabd393
commit db034f07bf
1 changed files with 0 additions and 10 deletions

View File

@ -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]