[PATCH 4/7] The return value of execWithRedirect is an integer.

David Lehman dlehman at redhat.com
Wed Sep 12 15:50:54 UTC 2012


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

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 7b33476..c4f693c 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -496,11 +496,11 @@ class FS(DeviceFormat):
         except Exception as e:
             raise FSError("filesystem check failed: %s" % e)
 
-        if self._fsckFailed(ret.rc):
+        if self._fsckFailed(ret):
             hdr = _("%(type)s filesystem check failure on %(device)s: ") % \
                     {"type": self.type, "device": self.device}
 
-            msg = self._fsckErrorMessage(ret.rc)
+            msg = self._fsckErrorMessage(ret)
 
             # FIXME:  Bluh?
             if False:
-- 
1.7.7.6



More information about the anaconda-patches mailing list