On Wed, 2011-06-01 at 12:47 +0800, Yiqiao Pu wrote: > The attribute is_alive is imported in python 2.6, so can not run > it in hosts with python 2.4 such as RHEL5. Just use isAlive().
Applied, thanks! > Signed-off-by: Yiqiao Pu <[email protected]> > --- > client/virt/tests/netperf.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/client/virt/tests/netperf.py b/client/virt/tests/netperf.py > index 8a80d13..458364a 100644 > --- a/client/virt/tests/netperf.py > +++ b/client/virt/tests/netperf.py > @@ -95,7 +95,7 @@ def run_netperf(test, params, env): > while not completed: > completed = True > for b in bg: > - if b.is_alive(): > + if b.isAlive(): > completed = False > finally: > try: _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
