We're removing all external dependencies including rpm and urlgrabber,
so we don't need this check.

Signed-off-by: Tom Zanussi <[email protected]>
---
 scripts/wic | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/scripts/wic b/scripts/wic
index 08473d3..b6fd16c 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]
-- 
1.8.3.1

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to