diff options
author | Chris Lumens <clumens@redhat.com> | 2009-04-30 15:16:19 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-05-01 17:06:58 -0400 |
commit | 63ffe913224e7e8ca0a313d686a9fa835848e72c (patch) | |
tree | b729f7efd9472eea5e38be52d9039923f0a717fd /storage/devicetree.py | |
parent | 54f10188d21312b1d51369aebccf6f4535e07d6a (diff) | |
download | anaconda-63ffe913224e7e8ca0a313d686a9fa835848e72c.tar.gz anaconda-63ffe913224e7e8ca0a313d686a9fa835848e72c.tar.xz anaconda-63ffe913224e7e8ca0a313d686a9fa835848e72c.zip |
Pass clearPartType to the devicetree as well.
Diffstat (limited to 'storage/devicetree.py')
-rw-r--r-- | storage/devicetree.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py index 14516234f..2752b4bf6 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -185,8 +185,8 @@ class DeviceTree(object): except for resize actions. """ - def __init__(self, intf=None, ignored=[], exclusive=[], clear=[], - zeroMbr=None, reinitializeDisks=None, protected=[], + def __init__(self, intf=None, ignored=[], exclusive=[], type=CLEARPART_TYPE_NONE, + clear=[], zeroMbr=None, reinitializeDisks=None, protected=[], passphrase=None, luksDict=None): # internal data members self._devices = [] @@ -194,6 +194,7 @@ class DeviceTree(object): self.intf = intf self.exclusiveDisks = exclusive + self.clearPartType = type self.clearPartDisks = clear self.zeroMbr = zeroMbr self.reinitializeDisks = reinitializeDisks |