[Pkg-libvirt-commits] [libguestfs] 46/165: builder: Make the summary printed at the end easier to read.

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:24:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 044ecdb9036d338a32e66a71745f9f946931e4f6
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sat May 17 10:38:59 2014 +0100

    builder: Make the summary printed at the end easier to read.
    
    This is just a whitespace change.  The new output looks like this:
    
                       Output file: fedora-20.img
                       Output size: 4.0G
                     Output format: raw
                Total usable space: 5.2G
                        Free space: 4.5G (86%)
---
 builder/builder.ml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/builder/builder.ml b/builder/builder.ml
index 95f90b7..e7be901 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -645,12 +645,12 @@ let main () =
 
       Some (
         String.concat "\n" [
-          sprintf (f_"Output: %s") output_filename;
-          sprintf (f_"Output size: %s") (human_size output_size);
-          sprintf (f_"Output format: %s") output_format;
-          sprintf (f_"Total usable space: %s")
+          sprintf "%30s: %s" (s_"Output file") output_filename;
+          sprintf "%30s: %s" (s_"Output size") (human_size output_size);
+          sprintf "%30s: %s" (s_"Output format") output_format;
+          sprintf "%30s: %s" (s_"Total usable space")
             (human_size total_bytes);
-          sprintf (f_"Free space: %s (%Ld%%)")
+          sprintf "%30s: %s (%Ld%%)" (s_"Free space")
             (human_size free_bytes) free_percent;
         ] ^ "\n"
       )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list