[PATCH 4/6] There is no Storage.formatDevice method.

David Lehman dlehman at redhat.com
Wed Nov 7 21:57:37 UTC 2012


Related: rhbz#870476
---
 pyanaconda/storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 252f92a..5c00143 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -773,7 +773,7 @@ class Storage(object):
                 devices.remove(leaf)
 
         if device.isDisk:
-            self.destroyFormat(device)
+            self.devicetree.registerAction(ActionDestroyFormat(device))
         else:
             self.destroyDevice(device)
 
-- 
1.7.7.6



More information about the anaconda-patches mailing list