diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-13 19:31:23 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-13 19:31:23 +0000 |
commit | 76d7d2de6f08ca3dc889c1e460a6c0c2d0fd9a2a (patch) | |
tree | d69b340204c852ed2e7490f9d84bd5b0598de79f /textw | |
parent | 3cc5e61f10ba9bbe6539539cecedfadb795199e0 (diff) | |
download | anaconda-76d7d2de6f08ca3dc889c1e460a6c0c2d0fd9a2a.tar.gz anaconda-76d7d2de6f08ca3dc889c1e460a6c0c2d0fd9a2a.tar.xz anaconda-76d7d2de6f08ca3dc889c1e460a6c0c2d0fd9a2a.zip |
even more fun... move Partitions object to partitions.py and adjust accordingly.
move the Request object into partRequests.py and actually make it a nicer
object with subclasses for the various types.
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partition_text.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py index 30e8c696a..e14d460a8 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -22,6 +22,7 @@ import parted from partitioning import * from partedUtils import * from partIntfHelpers import * +from partRequests import * from fsset import * from autopart import * from snack import * @@ -928,12 +929,12 @@ class PartitionWindow: self.screen.popWindow() def newCb(self): - request = PartitionSpec(fileSystemTypeGetDefault(), REQUEST_NEW, 1) + request = NewPartitionSpec(fileSystemTypeGetDefault(), 1) self.editPartitionRequest(request, isNew = 1) def makeraidCb(self): - request = PartitionSpec(fileSystemTypeGetDefault(), REQUEST_RAID, 1) + request = RaidRequestSpec(fileSystemTypeGetDefault()) self.editRaidRequest(request, isNew = 1) |