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

James Antill james at fedoraproject.org
Tue Dec 22 05:03:32 UTC 2009


On Mon, 2009-12-21 at 17:55 -0500, Seth Vidal wrote:
> ---
>  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:

 ACK this too (I'd ACKd the previous two almost two weeks ago :p).

>          if line.find('fd:') == -1:
>              continue
>          line = line.replace('\n', '')



More information about the Yum-devel mailing list