[lxc-devel] [PATCH] python3: Export get_global_config_item

Serge Hallyn serge.hallyn at ubuntu.com
Tue Mar 4 18:59:17 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> get_global_config_item was added in _lxc but not mapped into lxc itself,
> this resolves this oversight.
> 
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/python-lxc/lxc/__init__.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/python-lxc/lxc/__init__.py b/src/python-lxc/lxc/__init__.py
> index 712eb48..d233062 100644
> --- a/src/python-lxc/lxc/__init__.py
> +++ b/src/python-lxc/lxc/__init__.py
> @@ -28,6 +28,7 @@ import subprocess
>  import time
>  
>  default_config_path = _lxc.get_global_config_item("lxc.lxcpath")
> +get_global_config_item = _lxc.get_global_config_item
>  version = _lxc.get_version()
>  
>  
> -- 
> 1.9.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list