Hi,

On Thu, May 8, 2008 at 4:38 PM, John R Pierce <[EMAIL PROTECTED]> wrote:
> coworker wants to download a module with all its dependencies, for use in
> updating an offline system...   CentOS 5.latest ...
>
> [EMAIL PROTECTED] home]# yumdownloader --resolve gcc
...
>  File "/usr/lib/python2.4/site-packages/yum/packages.py", line 191, in
> __eq__
>   if other == None:
...
> um...  this a bug?

Yes, it's a bug!

In line 191 of packages.py, the "is" operator should be used instead
of "==". The line should read:

        is other is None:

I changed my file and after that it worked fine. I will open a bug
upstream for that.

Filipe
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to