diff options
author | Martin Gracik <mgracik@redhat.com> | 2009-03-30 19:56:00 +0200 |
---|---|---|
committer | Martin Gracik <mgracik@redhat.com> | 2009-03-31 15:24:09 +0200 |
commit | 0f0d794130684465bbe21c08f26fc8d2fd37a952 (patch) | |
tree | 22c6688ef90b7d9a9df4baf03ee089e1fdb49d36 /storage/formats/lvmpv.py | |
parent | b1a13d63d0544a2ab123a0405c80006df5feeaad (diff) | |
download | anaconda-0f0d794130684465bbe21c08f26fc8d2fd37a952.tar.gz anaconda-0f0d794130684465bbe21c08f26fc8d2fd37a952.tar.xz anaconda-0f0d794130684465bbe21c08f26fc8d2fd37a952.zip |
Fixes of errors shown by pylint that didn't get into the beta build.
Diffstat (limited to 'storage/formats/lvmpv.py')
-rw-r--r-- | storage/formats/lvmpv.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/storage/formats/lvmpv.py b/storage/formats/lvmpv.py index c9cbe295d..a11163533 100644 --- a/storage/formats/lvmpv.py +++ b/storage/formats/lvmpv.py @@ -74,7 +74,6 @@ class LVMPhysicalVolume(DeviceFormat): if not self.exists: raise PhysicalVolumeError("format has not been created") - pass #info = lvm.pvinfo(self.device) #self.vgName = info['vg_name'] #self.vgUuid = info['vg_uuid'] @@ -84,9 +83,9 @@ class LVMPhysicalVolume(DeviceFormat): log_method_call(self, device=self.device, type=self.type, status=self.status) DeviceFormat.create(self, *args, **kwargs) - """ Consider use of -Z|--zero - -f|--force or -y|--yes may be required - """ + # Consider use of -Z|--zero + # -f|--force or -y|--yes may be required + # lvm has issues with persistence of metadata, so here comes the # hammer... DeviceFormat.destroy(self, *args, **kwargs) |