2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 11:39:37 +00:00

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 <stgraber@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Stéphane Graber
2012-09-12 13:12:50 -04:00
parent 921ceb26bd
commit 225b52ef15

View 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):
"""