diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-10-22 09:23:57 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-23 07:13:59 +0100 |
commit | 429c0d72b9b8bfed34832e283be92996e074b9ac (patch) | |
tree | e5bf37214af428e9714f91d28cf1a4dba0e7b237 /scripts/wic | |
parent | 3103f0cb908eced7b751128c2bba898d12017c80 (diff) | |
download | openembedded-core-429c0d72b9b8bfed34832e283be92996e074b9ac.tar.gz openembedded-core-429c0d72b9b8bfed34832e283be92996e074b9ac.tar.bz2 openembedded-core-429c0d72b9b8bfed34832e283be92996e074b9ac.zip |
wic: eliminate module checks
We're removing all external dependencies including rpm and urlgrabber,
so we don't need this check.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/wic b/scripts/wic index 08473d3df4..b6fd16c5df 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] |