[Yum-devel] [PATCH 3/3] as ville suggested for python 3.0 compat

Seth Vidal skvidal at fedoraproject.org
Mon Dec 21 22:55:16 UTC 2009


---
 yum/misc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/misc.py b/yum/misc.py
index 6c76dd1..78c7950 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -896,7 +896,7 @@ def get_open_files(pid):
     except (IOError, OSError), e:
         return files
 
-    for line in maps.xreadlines():
+    for line in maps:
         if line.find('fd:') == -1:
             continue
         line = line.replace('\n', '')
-- 
1.6.5.2



More information about the Yum-devel mailing list