summaryrefslogtreecommitdiffstats
path: root/storage/devicetree.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-30 15:16:19 -0400
committerChris Lumens <clumens@redhat.com>2009-05-01 17:06:58 -0400
commit63ffe913224e7e8ca0a313d686a9fa835848e72c (patch)
treeb729f7efd9472eea5e38be52d9039923f0a717fd /storage/devicetree.py
parent54f10188d21312b1d51369aebccf6f4535e07d6a (diff)
downloadanaconda-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.py5
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