[blivet] parse buffer output from resize (#913141)

Brian C. Lane bcl at redhat.com
Wed Feb 20 18:36:57 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

---
 blivet/formats/fs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 5ec1948..de94ff4 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1266,7 +1266,7 @@ class NTFS(FS):
             if self.exists and os.path.exists(self.device) and \
                util.find_program_in_path(self.resizefsProg):
                 minSize = None
-                buf = util.run_program([self.resizefsProg, "-m", self.device])
+                buf = util.capture_output([self.resizefsProg, "-m", self.device])
                 for l in buf.split("\n"):
                     if not l.startswith("Minsize"):
                         continue
-- 
1.8.1



More information about the anaconda-patches mailing list