[blivet] parse buffer output from resize (#913141)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Wed Feb 20 19:14:18 UTC 2013
Ack.
On Wed, Feb 20, 2013 at 10:36:57AM -0800, Brian C. Lane wrote:
> 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
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list