diff options
author | David Lehman <dlehman@redhat.com> | 2010-11-15 12:02:42 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-12-02 12:29:49 -0600 |
commit | 53da5c53b40f6f1d7bc77269fbcdc1e4e43a9001 (patch) | |
tree | d910983e10f7166be2617c8cd4b3a713b5c1ac59 /pyanaconda/textw/partition_text.py | |
parent | 71f31487bec4468a2a9ebcd13fcf4fdb379af4d8 (diff) | |
download | anaconda-53da5c53b40f6f1d7bc77269fbcdc1e4e43a9001.tar.gz anaconda-53da5c53b40f6f1d7bc77269fbcdc1e4e43a9001.tar.xz anaconda-53da5c53b40f6f1d7bc77269fbcdc1e4e43a9001.zip |
Move storage device scanning parameters into a separate class.
Diffstat (limited to 'pyanaconda/textw/partition_text.py')
-rw-r--r-- | pyanaconda/textw/partition_text.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyanaconda/textw/partition_text.py b/pyanaconda/textw/partition_text.py index c65788cb4..603592f7d 100644 --- a/pyanaconda/textw/partition_text.py +++ b/pyanaconda/textw/partition_text.py @@ -68,10 +68,10 @@ class PartitionTypeWindow: for (txt, val) in opts: typebox.append(txt, val) - if anaconda.storage.clearPartType is None: + if anaconda.storage.config.clearPartType is None: preselection = CLEARPART_TYPE_LINUX else: - preselection = anaconda.storage.clearPartType + preselection = anaconda.storage.config.clearPartType typebox.setCurrent(preselection) g.add(typebox, 0, 1, (0, 1, 0, 0)) @@ -97,7 +97,7 @@ class PartitionTypeWindow: # restore the drive list each time disks = anaconda.storage.partitioned - cleardrives = anaconda.storage.clearPartDisks + cleardrives = anaconda.storage.config.clearPartDisks for disk in disks: model = disk.model @@ -147,8 +147,8 @@ class PartitionTypeWindow: anaconda.dispatch.skipStep("autopartitionexecute", skip = 0) anaconda.storage.doAutoPart = True - anaconda.storage.clearPartType = partmethod_ans - anaconda.storage.clearPartDisks = sel + anaconda.storage.config.clearPartType = partmethod_ans + anaconda.storage.config.clearPartDisks = sel break # ask to review autopartition layout - but only if it's not custom partitioning |