Re: [PATCH rhel6-branch] Show lvm vg free space as a whole number in the partition gui.

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

 



On Tue, May 01, 2012 at 09:23:49AM -0500, David Lehman wrote:
> Related: rhbz#734128
> ---
>  iw/partition_gui.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/iw/partition_gui.py b/iw/partition_gui.py
> index f5c7178..1493895 100644
> --- a/iw/partition_gui.py
> +++ b/iw/partition_gui.py
> @@ -998,7 +998,7 @@ class PartitionWindow(InstallWindow):
>                  if vg.freeSpace > 0:
>                      iter = self.tree.append(vgparent)
>                      self.tree[iter]['Device'] = _("Free")
> -                    self.tree[iter]['Size (MB)'] = vg.freeSpace
> +                    self.tree[iter]['Size (MB)'] = "%.0f" % vg.freeSpace
>                      self.tree[iter]['PyObject'] = None
>                      self.tree[iter]['Mount Point'] = ""
>                      self.tree[iter]['IsLeaf'] = True
> -- 
> 1.7.6

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpdy0R4LGKud.pgp
Description: PGP signature

_______________________________________________
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