From: Stéphane Graber Date: Wed, 12 Sep 2012 17:12:50 +0000 (-0400) Subject: lxc-start-ephemeral: Add missing return call to wait override X-Git-Tag: lxc-0.9.0.alpha1~1^2~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=225b52ef15d77d017c47b026313f3fabcf423a28;p=thirdparty%2Flxc.git lxc-start-ephemeral: Add missing return call to wait override When overriding wait(), I forgot to actually return the value coming from the C binding... Signed-off-by: Stéphane Graber Signed-off-by: Serge Hallyn --- diff --git a/src/python-lxc/lxc/__init__.py b/src/python-lxc/lxc/__init__.py index 6b671db5f..183c7789f 100644 --- a/src/python-lxc/lxc/__init__.py +++ b/src/python-lxc/lxc/__init__.py @@ -370,7 +370,7 @@ class Container(_lxc.Container): if isinstance(state, str): state = state.upper() - _lxc.Container.wait(self, state, timeout) + return _lxc.Container.wait(self, state, timeout) def list_containers(as_object=False): """