[Pkg-libvirt-commits] [libguestfs] 127/384: v2v: -o qemu: Replace List.iteri with iteri.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:56:16 UTC 2015


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

bengen pushed a commit to branch experimental
in repository libguestfs.

commit d375b7818a506e011b5f61c9a42c801180636201
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Dec 17 14:37:55 2014 +0000

    v2v: -o qemu: Replace List.iteri with iteri.
    
    So we don't have to depend on OCaml >= 4.00 which is when this
    function was added to the stdlib.
    
    https://bugs.gentoo.org/show_bug.cgi?id=532698
---
 v2v/output_qemu.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/output_qemu.ml b/v2v/output_qemu.ml
index 75644c2..de5c813 100644
--- a/v2v/output_qemu.ml
+++ b/v2v/output_qemu.ml
@@ -78,7 +78,7 @@ object
       | Virtio_net -> "virtio-net-pci"
       | E1000 -> "e1000"
       | RTL8139 -> "rtl8139" in
-    List.iteri (
+    iteri (
       fun i nic ->
         fpf "%s-netdev user,id=net%d" nl i;
         fpf "%s-device %s,netdev=net%d%s" nl

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