summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Lowry <zach@mcs.anl.gov>2005-07-13 16:25:20 +0000
committerZach Lowry <zach@mcs.anl.gov>2005-07-13 16:25:20 +0000
commit720472cbd76529a2bea484e5b60187f9430a40f1 (patch)
tree36a7a84e5a89ccaea8b9eacc6e04c075b1f4f3c1
parentcd1548a9533b30fa0c487a6519baf75c89523c97 (diff)
downloadbcfg2-720472cbd76529a2bea484e5b60187f9430a40f1.tar.gz
bcfg2-720472cbd76529a2bea484e5b60187f9430a40f1.tar.bz2
bcfg2-720472cbd76529a2bea484e5b60187f9430a40f1.zip
fix odata bug
(Logical change 1.255) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1050 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index 6c409e455..3e620bd0b 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -84,7 +84,7 @@ class Redhat(Toolset):
return True
verp = Popen4("rpm --verify -q %s-%s" %
(entry.get('name'),entry.get('version')), bufsize=16384)
- odata = ''
+ odata = verp.fromchild.read(
vstat = verp.poll()
while vstat == -1:
odata += verp.fromchild.read()