On 10/26/10 20:53, Tomáš Chvátal wrote:
> Dne 26.10.2010 18:34, Krzysztof Pawlik napsal(a):
>> On 10/26/10 17:39, Tomáa Chvátal wrote:
>>> Hello guys,
>>> I took last few days to rewrite our eshowkw script from bash to python
>>> and enhance its functionality.
> 
>> I did the same some time ago, check it:
>> http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=blob;f=scripts/eshowkw.py.
> 
> Hehe was not aware of that, thats why i hate when people put their
> scripts into overlays and not to some common repo :)

Yeah - I know :)

> Also it does not work for me at all:
> 
> sca...@ugly-elf: ~ $ eshowkw.py kdelibs
> Traceback (most recent call last):
>   File "/usr/local/bin/eshowkw.py", line 174, in <module>
>     showMe(myArch, portage.portdbapi(portage.settings['PORTDIR']), pkg)
>   File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 95, in
> __init__
>     self.repositories = self.settings.repositories
> AttributeError: 'config' object has no attribute 'repositories'

Works for me :P But I'm guessing - portage 2.2_rc<something_huge>, right?

-- 
Krzysztof Pawlik  <nelchael at gentoo.org>  key id: 0xF6A80E46
desktop-misc, java, vim, kernel, python, apache...

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to