diff options
author | Mike Fulbright <msf@redhat.com> | 2002-08-16 06:07:59 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-08-16 06:07:59 +0000 |
commit | 8d6b9da045e92fc2601263550c91853846f6a06f (patch) | |
tree | 6f558f846d40361612ede204a57e893e029ffa77 /command-stubs | |
parent | 8c5fd6da41bbda53514591782bd103165ab1a789 (diff) | |
download | anaconda-8d6b9da045e92fc2601263550c91853846f6a06f.tar.gz anaconda-8d6b9da045e92fc2601263550c91853846f6a06f.tar.xz anaconda-8d6b9da045e92fc2601263550c91853846f6a06f.zip |
get python paths right
Diffstat (limited to 'command-stubs')
-rwxr-xr-x | command-stubs/list-harddrives-stub | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/command-stubs/list-harddrives-stub b/command-stubs/list-harddrives-stub index cd53689f7..7897967a1 100755 --- a/command-stubs/list-harddrives-stub +++ b/command-stubs/list-harddrives-stub @@ -3,10 +3,18 @@ # scan system for harddrives and output device name/size # +import os +import sys + +# for testing +if (os.path.exists('isys')): + sys.path.append('isys') + +sys.path.append('/usr/lib/anaconda') + import parted import partedUtils import isys -import os drives = isys.hardDriveDict() |