[oe-commits] Tom Zanussi : wic: eliminate module checks
git at git.openembedded.org
git at git.openembedded.org
Wed Oct 23 06:01:18 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 429c0d72b9b8bfed34832e283be92996e074b9ac
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=429c0d72b9b8bfed34832e283be92996e074b9ac
Author: Tom Zanussi <tom.zanussi at linux.intel.com>
Date: Tue Oct 22 09:23:57 2013 -0500
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/wic | 10 ----------
1 files changed, 0 insertions(+), 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]
More information about the Openembedded-commits
mailing list