From 8d6b9da045e92fc2601263550c91853846f6a06f Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Fri, 16 Aug 2002 06:07:59 +0000 Subject: get python paths right --- command-stubs/list-harddrives-stub | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'command-stubs') 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() -- cgit