diff options
author | David Lehman <dlehman@redhat.com> | 2009-02-24 00:04:52 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-02-24 00:04:52 -0600 |
commit | 85028569883e76514a5983939e569bdb6d5743a9 (patch) | |
tree | cbacf025a9039398da4168cdfb821cf74cc6ee7e /storage/formats/lvmpv.py | |
parent | ea85b249d3324bc90d89bbc17ddb4b5475ba6f7b (diff) | |
download | anaconda-85028569883e76514a5983939e569bdb6d5743a9.tar.gz anaconda-85028569883e76514a5983939e569bdb6d5743a9.tar.xz anaconda-85028569883e76514a5983939e569bdb6d5743a9.zip |
Make it easy to specify a format's device at creation/setup time.
Diffstat (limited to 'storage/formats/lvmpv.py')
-rw-r--r-- | storage/formats/lvmpv.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/formats/lvmpv.py b/storage/formats/lvmpv.py index ac404f303..d27819859 100644 --- a/storage/formats/lvmpv.py +++ b/storage/formats/lvmpv.py @@ -81,9 +81,7 @@ class LVMPhysicalVolume(DeviceFormat): """ Create the format. """ log_method_call(self, device=os.path.basename(self.device), type=self.type, status=self.status) - if self.exists: - raise PhysicalVolumeError("format already exists") - + DeviceFormat.create(self, *args, **kwargs) """ Consider use of -Z|--zero -f|--force or -y|--yes may be required """ |