summaryrefslogtreecommitdiffstats
path: root/storage/formats/fs.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2010-01-13 15:47:12 -0500
committerPeter Jones <pjones@redhat.com>2010-01-15 14:21:03 -0500
commit7e9ddee96d6f64369e0646f0a43627fafc001417 (patch)
tree60f09ffceadf1a80626d3fb62b0461be47e7d583 /storage/formats/fs.py
parentb439ea9a1db509dec92e1335065db5296853d2c8 (diff)
downloadanaconda-7e9ddee96d6f64369e0646f0a43627fafc001417.tar.gz
anaconda-7e9ddee96d6f64369e0646f0a43627fafc001417.tar.xz
anaconda-7e9ddee96d6f64369e0646f0a43627fafc001417.zip
iutil.execWithRedirect() hasn't used searchPath= since 2006. Take it out.
iutil.execWithRedirect() stopped doing anything with searchPath in 2006 when clumens committed d0dec24. Remove these silly vestigal bits.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r--storage/formats/fs.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 5c64b0928..3aee98169 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -399,8 +399,7 @@ class FS(DeviceFormat):
rc = iutil.execWithRedirect(self.migratefsProg,
argv,
stdout = "/dev/tty5",
- stderr = "/dev/tty5",
- searchPath = 1)
+ stderr = "/dev/tty5")
except Exception as e:
raise FSMigrateError("filesystem migration failed: %s" % e,
self.device)
@@ -550,8 +549,8 @@ class FS(DeviceFormat):
for module in self._modules:
try:
rc = iutil.execWithRedirect("modprobe", [module],
- stdout="/dev/tty5", stderr="/dev/tty5",
- searchPath=1)
+ stdout="/dev/tty5",
+ stderr="/dev/tty5")
except Exception as e:
log.error("Could not load kernel module %s: %s" % (module, e))
self._supported = False
@@ -672,8 +671,7 @@ class FS(DeviceFormat):
argv = self._getLabelArgs(label)
rc = iutil.execWithRedirect(self.labelfsProg,
argv,
- stderr="/dev/tty5",
- searchPath=1)
+ stderr="/dev/tty5")
if rc:
raise FSError("label failed")
@@ -920,7 +918,6 @@ class Ext2FS(FS):
rc = iutil.execWithRedirect("tune2fs",
["-c0", "-i0",
"-ouser_xattr,acl", self.device],
- searchPath = True,
stdout = "/dev/tty5",
stderr = "/dev/tty5")
except Exception as e: