]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
python3: Export get_global_config_item
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Mar 2014 18:31:46 +0000 (13:31 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Mar 2014 22:33:02 +0000 (17:33 -0500)
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@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/python-lxc/lxc/__init__.py

index 712eb48438d09d55a076ebafbe20e2fffd04bf96..d2330626aff27414abfaa57c1895347510aec4f0 100644 (file)
@@ -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()