[PATCH] Fix: execWithRedirect() unexpectedkeyword argument 'searchPath' (#572853)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/fcoe.py |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/storage/fcoe.py b/storage/fcoe.py
index cffc9e2..2c785b3 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -69,8 +69,7 @@ class fcoe(object):
         # I have no clue how long we need to wait, this ought to do the trick
         time.sleep(10)
         iutil.execWithRedirect("udevadm", [ "settle" ],
-                               stdout = "/dev/tty5", stderr="/dev/tty5",
-                               searchPath = 1)
+                               stdout = "/dev/tty5", stderr="/dev/tty5")
         if intf:
             w.pop()
 
@@ -91,8 +90,7 @@ class fcoe(object):
             return
 
         iutil.execWithRedirect("lldpad", [ "-d" ],
-                               stdout = "/dev/tty5", stderr="/dev/tty5",
-                               searchPath = 1)
+                               stdout = "/dev/tty5", stderr="/dev/tty5")
         self.lldpadStarted = True
 
     def _startFcoemon(self):
@@ -100,8 +98,7 @@ class fcoe(object):
             return
 
         iutil.execWithRedirect("fcoemon", [ ],
-                               stdout = "/dev/tty5", stderr="/dev/tty5",
-                               searchPath = 1)
+                               stdout = "/dev/tty5", stderr="/dev/tty5")
         self.fcoemonStarted = True
 
     def addSan(self, nic, dcb=False, intf=None):
@@ -111,18 +108,15 @@ class fcoe(object):
         log.info("Activating FCoE SAN attached to %s, dcb: %s" % (nic, dcb))
 
         iutil.execWithRedirect("ip", [ "link", "set", nic, "up" ],
-                               stdout = "/dev/tty5", stderr="/dev/tty5",
-                               searchPath = 1)
+                               stdout = "/dev/tty5", stderr="/dev/tty5")
 
         if dcb:
             self._startLldpad()
             iutil.execWithRedirect("dcbtool", [ "sc", nic, "dcb", "on" ],
-                               stdout = "/dev/tty5", stderr="/dev/tty5",
-                               searchPath = 1)
+                               stdout = "/dev/tty5", stderr="/dev/tty5")
             iutil.execWithRedirect("dcbtool", [ "sc", nic, "app:fcoe",
                                "e:1", "a:1", "w:1" ],
-                               stdout = "/dev/tty5", stderr="/dev/tty5",
-                               searchPath = 1)
+                               stdout = "/dev/tty5", stderr="/dev/tty5")
             self._startFcoemon()
         else:
             f = open("/sys/module/fcoe/parameters/create", "w")
-- 
1.7.0

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux