diff options
author | Matt Wilson <msw@redhat.com> | 2002-11-04 20:00:11 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-11-04 20:00:11 +0000 |
commit | 7c2b2a454cc8199f6d403374c560a556ec87b457 (patch) | |
tree | bf66ec5e1bec215b19f8ca79d97a46156ca52584 /partedUtils.py | |
parent | b2afbee544d518f1edbb3174611445fbd8aeaddc (diff) | |
download | anaconda-7c2b2a454cc8199f6d403374c560a556ec87b457.tar.gz anaconda-7c2b2a454cc8199f6d403374c560a556ec87b457.tar.xz anaconda-7c2b2a454cc8199f6d403374c560a556ec87b457.zip |
use disk_new_fresh
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/partedUtils.py b/partedUtils.py index 244bfad0e..d0f2802a8 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -651,7 +651,7 @@ class DiskSet: if (initAll and ((clearDevs is None) or (len(clearDevs) == 0) or drive in clearDevs) and not flags.test): try: - dev.disk_create(getDefaultDiskType()) + dev.disk_new_fresh(getDefaultDiskType()) disk = parted.PedDisk.new(dev) self.disks[drive] = disk except parted.error, msg: @@ -690,7 +690,7 @@ class DiskSet: continue else: try: - dev.disk_create(getDefaultDiskType()) + dev.disk_new_fresh(getDefaultDiskType()) except parted.error, msg: DiskSet.skippedDisks.append(drive) continue @@ -713,7 +713,7 @@ class DiskSet: continue else: try: - dev.disk_create(getDefaultDiskType()) + dev.disk_new_fresh(getDefaultDiskType()) except parted.error, msg: DiskSet.skippedDisks.append(drive) continue |