]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-start-ephemeral: Add missing return call to wait override
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 12 Sep 2012 17:12:50 +0000 (13:12 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:18:31 +0000 (13:18 -0500)
When overriding wait(), I forgot to actually return the value coming
from the C binding...

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/python-lxc/lxc/__init__.py

index 6b671db5f182b5c0cbd2007688af1156e3509c02..183c7789ffba0de4dc6ae60e65387c0f82e3e1cb 100644 (file)
@@ -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):
     """