summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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()