summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.de>2004-08-25 14:07:35 +0000
committerKarsten Hopp <karsten@redhat.de>2004-08-25 14:07:35 +0000
commitee77744031becc04c97efdf8c0c0c3e912af6ce6 (patch)
tree337e5a03fa638ba2bcf40af2120bb43c6ac3d12a /iw
parente9278399d032be5852b925feed58517af0582381 (diff)
downloadanaconda-ee77744031becc04c97efdf8c0c0c3e912af6ce6.tar.gz
anaconda-ee77744031becc04c97efdf8c0c0c3e912af6ce6.tar.xz
anaconda-ee77744031becc04c97efdf8c0c0c3e912af6ce6.zip
- cleanup some unused variables
- new function common to gui and text mode to update the config files (-1 FIXME) - write /tmp/zfcp.conf earlier
Diffstat (limited to 'iw')
-rw-r--r--iw/zfcp_gui.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/iw/zfcp_gui.py b/iw/zfcp_gui.py
index 5b49e9569..762afaab7 100644
--- a/iw/zfcp_gui.py
+++ b/iw/zfcp_gui.py
@@ -17,9 +17,6 @@ import gobject
from iw_gui import *
import gui
from rhpl.translate import _, N_
-import os
-import isys
-import iutil
import string
class ZFCPWindow(InstallWindow):
@@ -36,14 +33,7 @@ class ZFCPWindow(InstallWindow):
(_("FCP LUN"), 1, self.handleInvalidFCPLun)]
def getNext(self):
- self.fcp.writeFcpSysfs(self.fcpdevices)
- self.fcp.writeModprobeConf(self.fcpdevices)
- isys.flushDriveDict()
- self.diskset.refreshDevices(self.intf)
- try:
- iutil.makeDriveDeviceNodes()
- except:
- pass
+ self.fcp.updateConfig(self.fcpdevices, self.diskset, self.intf)
def handleInvalidDevice(self):
self.intf.messageWindow(_("Error With Data"),
@@ -209,10 +199,6 @@ class ZFCPWindow(InstallWindow):
if not iter:
return None
devicenum = model.get_value(iter, 0)
- scsiid = model.get_value(iter, 1)
- wwpn = model.get_value(iter, 2)
- scsilun = model.get_value(iter, 3)
- fcplun = model.get_value(iter, 4)
# create dialog box
editWin = gtk.Dialog(_("Edit FCP device %s") % (devicenum,),