[PATCH 4/7] self.format -> self.device.format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The format object is self.device.format in DeviceAction.
---
 storage/deviceaction.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/deviceaction.py b/storage/deviceaction.py
index af263f0..1e2698f 100644
--- a/storage/deviceaction.py
+++ b/storage/deviceaction.py
@@ -178,8 +178,8 @@ class DeviceAction(object):
         if self.isResize():
             s += " (%s)" % resize_strings[self.dir]
         if self.isFormat():
-            if self.format:
-                fmt_type = self.format.type
+            if self.device.format:
+                fmt_type = self.device.format.type
             else:
                 fmt_type = None
             s += " %s on" % fmt_type
-- 
1.6.1.3

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux