Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   actionDestroyFormat call takes device, not format (http://www.linux-archive.org/centos/265533-actiondestroyformat-call-takes-device-not-format.html)

Hans de Goede 03-18-2009 01:21 PM

actionDestroyFormat call takes device, not format
 
Looks good,

Regards,

Hans


Radek Vykydal wrote:

---
iw/raid_dialog_gui.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 976edc9..e4fbf13 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -192,7 +192,7 @@ class RaidEditor:
except IndexError:
pass
else:
- actions.append(ActionDestroyFormat(luksdev.format) )
+ actions.append(ActionDestroyFormat(luksdev))
actions.append(ActionDestroyDevice(luksdev))
luksdev = None

@@ -222,7 +222,7 @@ class RaidEditor:

except IndexError:
pass
else:
- actions.append(ActionDestroyFormat(luksdev.format) )
+ actions.append(ActionDestroyFormat(luksdev))
actions.append(ActionDestroyDevice(luksdev))
luksdev = None



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 06:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.