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

Stéphane Graber stgraber at ubuntu.com
Tue Mar 4 18:31:46 UTC 2014


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



More information about the lxc-devel mailing list