[Pkg-libvirt-commits] [libguestfs] 198/266: v2v: -i libvirt: Add whitespace to make the code clearer.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:42:01 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 04121c40a164072227de34289f5662f1701fe12e
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Aug 28 14:59:45 2014 +0100

    v2v: -i libvirt: Add whitespace to make the code clearer.
---
 v2v/input_libvirt.ml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/v2v/input_libvirt.ml b/v2v/input_libvirt.ml
index 603e002..6449dc3 100644
--- a/v2v/input_libvirt.ml
+++ b/v2v/input_libvirt.ml
@@ -51,15 +51,20 @@ object
           with Invalid_argument msg ->
             error (f_"could not parse '-ic %s'.  Original error message was: %s")
               orig_uri msg in
+
         match server, scheme with
         | None, _
         | Some "", _ ->                 (* Not a remote URI. *)
           None, None
+
         | Some _, None                  (* No scheme? *)
         | Some _, Some "" ->
           None, None
+
         | Some _, Some "esx" ->         (* esx://... *)
-          let f = Lib_esx.map_path_to_uri uri in Some f, Some f
+          let f = Lib_esx.map_path_to_uri uri in
+          Some f, Some f
+
         (* XXX Missing: Look for qemu+ssh://, xen+ssh:// and use an ssh
          * connection.  This was supported in old virt-v2v.
          *)

-- 
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