[PATCH] Fix 2 variable references in formats/fs.py

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

 



---
 storage/formats/fs.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 7c0b19b..7a2f1a9 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -369,7 +369,7 @@ class FS(DeviceFormat):
                 w.pop()
 
         if ret.rc:
-            raise FormatCreateError("format failed: %s" % rc, self.device)
+            raise FormatCreateError("format failed: %s" % ret.rc, self.device)
 
         self.exists = True
         self.notifyKernel()
@@ -478,7 +478,7 @@ class FS(DeviceFormat):
                 w.pop()
 
         if ret.rc:
-            raise FSResizeError("resize failed: %s" % rc, self.device)
+            raise FSResizeError("resize failed: %s" % ret.rc, self.device)
 
         self.doCheck(intf=intf)
 
-- 
1.7.0.1

_______________________________________________
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