diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-21 13:10:13 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 15:07:53 -0500 |
commit | 7ea42d120f84005dce27a9d3ca98732c929999ab (patch) | |
tree | 1690eebaaf94f14182ee9f66c179ee6d1de13da1 /partIntfHelpers.py | |
parent | 7959758242dfbed72be1376daeecb2132a1b5f23 (diff) | |
download | anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.tar.gz anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.tar.xz anaconda-7ea42d120f84005dce27a9d3ca98732c929999ab.zip |
Move storage into the Anaconda class.
Diffstat (limited to 'partIntfHelpers.py')
-rw-r--r-- | partIntfHelpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py index 95af9fc7a..3aaba7122 100644 --- a/partIntfHelpers.py +++ b/partIntfHelpers.py @@ -210,7 +210,7 @@ def doClearPartitionedDevice(intf, storage, device, confirm=1, quiet=0): def checkForSwapNoMatch(anaconda): """Check for any partitions of type 0x82 which don't have a swap fs.""" - for device in anaconda.id.storage.partitions: + for device in anaconda.storage.partitions: if not device.exists: # this is only for existing partitions continue @@ -228,7 +228,7 @@ def checkForSwapNoMatch(anaconda): custom_icon="question") if rc == 1: format = getFormat("swap", device=device.path) - anaconda.id.storage.formatDevice(device, format) + anaconda.storage.formatDevice(device, format) return |