1 |
On 10/26/10 20:53, Tomáš Chvátal wrote: |
2 |
> Dne 26.10.2010 18:34, Krzysztof Pawlik napsal(a): |
3 |
>> On 10/26/10 17:39, Tomáa Chvátal wrote: |
4 |
>>> Hello guys, |
5 |
>>> I took last few days to rewrite our eshowkw script from bash to python |
6 |
>>> and enhance its functionality. |
7 |
> |
8 |
>> I did the same some time ago, check it: |
9 |
>> http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=blob;f=scripts/eshowkw.py. |
10 |
> |
11 |
> Hehe was not aware of that, thats why i hate when people put their |
12 |
> scripts into overlays and not to some common repo :) |
13 |
|
14 |
Yeah - I know :) |
15 |
|
16 |
> Also it does not work for me at all: |
17 |
> |
18 |
> scarab@ugly-elf: ~ $ eshowkw.py kdelibs |
19 |
> Traceback (most recent call last): |
20 |
> File "/usr/local/bin/eshowkw.py", line 174, in <module> |
21 |
> showMe(myArch, portage.portdbapi(portage.settings['PORTDIR']), pkg) |
22 |
> File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 95, in |
23 |
> __init__ |
24 |
> self.repositories = self.settings.repositories |
25 |
> AttributeError: 'config' object has no attribute 'repositories' |
26 |
|
27 |
Works for me :P But I'm guessing - portage 2.2_rc<something_huge>, right? |
28 |
|
29 |
-- |
30 |
Krzysztof Pawlik <nelchael at gentoo.org> key id: 0xF6A80E46 |
31 |
desktop-misc, java, vim, kernel, python, apache... |