summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-03 06:30:21 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-03 06:30:21 +0000
commit602c17ace52d055cbf7195ded76d0bd1d2f623fa (patch)
tree30fb3d917535ceeec4f2e1b582b28625f60debc6 /src/lib
parent984698527dd76d52bebcf18fb4695f214367928c (diff)
downloadbcfg2-602c17ace52d055cbf7195ded76d0bd1d2f623fa.tar.gz
bcfg2-602c17ace52d055cbf7195ded76d0bd1d2f623fa.tar.bz2
bcfg2-602c17ace52d055cbf7195ded76d0bd1d2f623fa.zip
Final executor fix
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2779 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/__init__.py2
1 files changed, 2 insertions, 0 deletions
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: