From 602c17ace52d055cbf7195ded76d0bd1d2f623fa Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 3 Feb 2007 06:30:21 +0000 Subject: Final executor fix git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2779 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Client/Tools/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/Client/Tools') diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py index cd6c096aa..52f954978 100644 --- a/src/lib/Client/Tools/__init__.py +++ b/src/lib/Client/Tools/__init__.py @@ -52,6 +52,8 @@ class executor: output.append(line[:-1]) line = runpipe.fromchild.readline() cmdstat = runpipe.poll() + output += [line[:-1] for line in runpipe.fromchild.readlines() \ + if line] return (cmdstat, output) class Tool: -- cgit v1.2.3-1-g7c22