diff options
Diffstat (limited to 'scripts')
-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 | |||
38 | import logging | 38 | import logging |
39 | 39 | ||
40 | # External modules | 40 | # External modules |
41 | try: | ||
42 | import rpm | ||
43 | import urlgrabber | ||
44 | except ImportError: | ||
45 | print("ERROR: failed to import necessary modules.") | ||
46 | print("Please ensure the following modules are installed:") | ||
47 | print("\trpm"); | ||
48 | print("\turlgrabber"); | ||
49 | sys.exit(1) | ||
50 | |||
51 | scripts_path = os.path.abspath(os.path.dirname(os.path.abspath(sys.argv[0]))) | 41 | scripts_path = os.path.abspath(os.path.dirname(os.path.abspath(sys.argv[0]))) |
52 | lib_path = scripts_path + '/lib' | 42 | lib_path = scripts_path + '/lib' |
53 | sys.path = sys.path + [lib_path] | 43 | sys.path = sys.path + [lib_path] |