Re: Yumex

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

 



2008/12/9 Tim Lauridsen <tim.lauridsen@xxxxxxxxxxxxxx>:
> Michael Schwendt wrote:
>>
>> On Mon, 8 Dec 2008 21:09:58 +0100, Antonio wrote:
>>
>>> Yumex doesn't start after latest upgrades and this is what I get when
>>> I start Yumex in a terminal!!!
>>>
>>> yumex
>>> /usr/lib/python2.6/site-packages/yum/pgpmsg.py:16: DeprecationWarning:
>>> the md5 module is deprecated; use hashlib instead
>>>  import struct, time, cStringIO, base64, types, md5, sha
>>> /usr/lib/python2.6/site-packages/yum/pgpmsg.py:16: DeprecationWarning:
>>> the sha module is deprecated; use the hashlib module instead
>>>  import struct, time, cStringIO, base64, types, md5, sha
>>> Traceback (most recent call last):
>>>  File "/usr/share/yumex/yumex.py", line 42, in <module>
>>>    from yumapi import YumexYumHandler
>>>  File "/usr/share/yumex/yumapi.py", line 446
>>>    self.repos.populateSack(with='filelists')
>>>                               ^
>>> SyntaxError: invalid syntax
>>
>> Change it to
>>
>>     self.repos.populateSack(mdtype='filelists')
>>  and see in which other parts it breaks. :-)
>>
>> Without looking at the context, it's probably compatibility code
>> for the old Yum API, but Python >= 2.6 finally rejects "with" as
>> a named argument, because it's a reserved keyword now.
>>
>
> I have just made a new yumex build in rawhide fixing this issue.
>
> Tim
>
> --
> fedora-test-list mailing list
> fedora-test-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
>
tnx: it works fine




-- 
Antonio Montagnani
Skype : antoniomontag

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux