diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-02-03 06:30:21 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-02-03 06:30:21 +0000 |
commit | 602c17ace52d055cbf7195ded76d0bd1d2f623fa (patch) | |
tree | 30fb3d917535ceeec4f2e1b582b28625f60debc6 /src/lib | |
parent | 984698527dd76d52bebcf18fb4695f214367928c (diff) | |
download | bcfg2-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__.py | 2 |
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: |