[yum-git] yum/packages.py

James Antill james at linux.duke.edu
Tue Feb 26 18:42:19 UTC 2008


 yum/packages.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit da636c4bb956a31cc0aab4119678f82ebd9f19bf
Author: James Antill <james at and.org>
Date:   Tue Feb 26 13:40:59 2008 -0500

     Don't read stderr, blocking is much easier this way ...
       just hope we don't get too much stderr and block the other way.

diff --git a/yum/packages.py b/yum/packages.py
index d133229..3e5451a 100644
--- a/yum/packages.py
+++ b/yum/packages.py
@@ -928,7 +928,7 @@ class YumInstalledPackage(YumHeaderPackage):
                         #  This is how rpm -V works, try and if that fails try
                         # again with prelink.
                         (ig, fp,er) = os.popen3([prelink_cmd, "-y", fn])
-                        er.read(1024 * 1024) # Try and get most of the stderr
+                        # er.read(1024 * 1024) # Try and get most of the stderr
                         my_csum = misc.checksum('md5', fp)
 
                     if my_csum != csum:



More information about the Yum-cvs-commits mailing list