summaryrefslogtreecommitdiffstats
path: root/iw/advanced_storage.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 13:10:13 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 15:07:53 -0500
commit7ea42d120f84005dce27a9d3ca98732c929999ab (patch)
tree1690eebaaf94f14182ee9f66c179ee6d1de13da1 /iw/advanced_storage.py
parent7959758242dfbed72be1376daeecb2132a1b5f23 (diff)
downloadanaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.tar.gz
anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.tar.xz
anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.zip
Move storage into the Anaconda class.
Diffstat (limited to 'iw/advanced_storage.py')
-rw-r--r--iw/advanced_storage.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/iw/advanced_storage.py b/iw/advanced_storage.py
index c6fbf5f3b..902d8ac4a 100644
--- a/iw/advanced_storage.py
+++ b/iw/advanced_storage.py
@@ -93,9 +93,9 @@ def addFcoeDrive(anaconda):
continue
try:
- anaconda.id.storage.fcoe.addSan(store.get_value(iter, 1),
- dcb=dcb_cb.get_active(),
- intf=anaconda.intf)
+ anaconda.storage.fcoe.addSan(store.get_value(iter, 1),
+ dcb=dcb_cb.get_active(),
+ intf=anaconda.intf)
except IOError as e:
anaconda.intf.messageWindow(_("Error"), str(e))
rc = gtk.RESPONSE_CANCEL
@@ -124,8 +124,8 @@ def addIscsiDrive(anaconda):
# get the initiator name if it exists and don't allow changing
# once set
e = dxml.get_widget("iscsiInitiatorEntry")
- e.set_text(anaconda.id.storage.iscsi.initiator)
- if anaconda.id.storage.iscsi.initiatorSet:
+ e.set_text(anaconda.storage.iscsi.initiator)
+ if anaconda.storage.iscsi.initiatorSet:
e.set_sensitive(False)
while True:
@@ -139,7 +139,7 @@ def addIscsiDrive(anaconda):
_("You must provide an initiator name."))
continue
- anaconda.id.storage.iscsi.initiator = initiator
+ anaconda.storage.iscsi.initiator = initiator
target = dxml.get_widget("iscsiAddrEntry").get_text().strip()
user = dxml.get_widget("userEntry").get_text().strip()
@@ -169,9 +169,9 @@ def addIscsiDrive(anaconda):
continue
try:
- anaconda.id.storage.iscsi.addTarget(ip, port, user, pw,
- user_in, pw_in,
- anaconda.intf)
+ anaconda.storage.iscsi.addTarget(ip, port, user, pw,
+ user_in, pw_in,
+ anaconda.intf)
except ValueError as e:
anaconda.intf.messageWindow(_("Error"), str(e))
continue