summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Lowry <zach@mcs.anl.gov>2005-07-14 14:26:39 +0000
committerZach Lowry <zach@mcs.anl.gov>2005-07-14 14:26:39 +0000
commitcb8d5040f20f1d0a3a04100d734722098d041142 (patch)
tree730892d93862c4c297d5956226fcf98428056a8f /src
parentb9f48fda3f62d1cbb183cfe735981bfdb3e17825 (diff)
downloadbcfg2-cb8d5040f20f1d0a3a04100d734722098d041142.tar.gz
bcfg2-cb8d5040f20f1d0a3a04100d734722098d041142.tar.bz2
bcfg2-cb8d5040f20f1d0a3a04100d734722098d041142.zip
add missing paren
(Logical change 1.259) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1064 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Redhat.py2
-rw-r--r--src/lib/Client/Solaris.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index 3e620bd0b..ad417aa82 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 = verp.fromchild.read(
+ odata = verp.fromchild.read()
vstat = verp.poll()
while vstat == -1:
odata += verp.fromchild.read()
diff --git a/src/lib/Client/Solaris.py b/src/lib/Client/Solaris.py
index 1be32410b..aa272eac0 100644
--- a/src/lib/Client/Solaris.py
+++ b/src/lib/Client/Solaris.py
@@ -78,7 +78,7 @@ class Solaris(Toolset):
if self.setup['quick']:
return True
verp = Popen4("/usr/sbin/pkgchk -n %s" % (entry.get('name')), bufsize=16384)
- odata = verp.fromchild.read(
+ odata = verp.fromchild.read()
vstat = verp.poll()
while vstat == -1:
odata += verp.fromchild.read()