summaryrefslogtreecommitdiffstats
path: root/command-stubs/raidstop-stub
diff options
context:
space:
mode:
Diffstat (limited to 'command-stubs/raidstop-stub')
-rwxr-xr-xcommand-stubs/raidstop-stub15
1 files changed, 1 insertions, 14 deletions
diff --git a/command-stubs/raidstop-stub b/command-stubs/raidstop-stub
index 942c29e72..21f809dfe 100755
--- a/command-stubs/raidstop-stub
+++ b/command-stubs/raidstop-stub
@@ -21,20 +21,7 @@
import os
import sys
-# for testing
-if (os.path.exists('rpmmodule')):
- sys.path.append('rpmmodule')
- sys.path.append('libfdisk')
- sys.path.append('balkan')
- sys.path.append('gnome-map')
- sys.path.append('isys')
-
-sys.path.append('/usr/lib/anaconda')
-
-import anaconda_log
-import fsset
-import raid
-import isys
+from pyanaconda import anaconda_log, fsset, raid, isys
from sys import argv
if len(argv) != 2 or argv[1][:7] != "/dev/md":