Re: problem with yumdownload?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On Thu, May 8, 2008 at 4:38 PM, John R Pierce <pierce@xxxxxxxxxxxx> wrote:
> coworker wants to download a module with all its dependencies, for use in
> updating an offline system...   CentOS 5.latest ...
>
> [root@pig 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux