[Libguestfs] [PATCH 1/5] mllib: Don't alias G = Guestfs in Common_utils module.

Pino Toscano ptoscano at redhat.com
Wed Oct 7 11:25:57 UTC 2015


On Tuesday 06 October 2015 13:30:46 Richard W.M. Jones wrote:
> ---
>  mllib/common_utils.ml | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml
> index f8fa8fd..f9c45cc 100644
> --- a/mllib/common_utils.ml
> +++ b/mllib/common_utils.ml
> @@ -20,8 +20,6 @@ open Printf
>  
>  open Common_gettext.Gettext
>  
> -module G = Guestfs
> -

Hm weren't we using that alias in our .ml files, usually?
Not a big deal, I just remember changes in the opposite way of this
patch, so just wondering what would be the preferred way (especially
that there is a .mli for this, so the alias won't pollute users of the
module).

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20151007/4857a0ef/attachment.sig>


More information about the Libguestfs mailing list