1 |
On 08/31/11 20:26, Burcin Erocal wrote: |
2 |
> On Wed, 31 Aug 2011 20:52:30 +0200 |
3 |
> Fabian Groffen <grobian@g.o> wrote: |
4 |
> |
5 |
>> On 31-08-2011 15:09:45 +0200, Burcin Erocal wrote: |
6 |
>>>> Aha. That explains. Now I understand why the fix fixes it as |
7 |
>>>> well. I'll apply it ASAP. Thanks a lot! |
8 |
>>> A better fix might be to replace the + at the end of line 163 with |
9 |
>>> \. This way the parser concatenates the strings and we don't |
10 |
>>> introduce an extra operation. :) |
11 |
>> Since I'm a Python n00b, please tell me if |
12 |
>> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=5551d449dffe531935dcd672f37c5cd3abd55a44;hp=3b74444f6684d7696e549cbdb76b8d1a0795fe2d |
13 |
>> is supposedly what you meant it to be. |
14 |
> Exactly. Next time I'll provide a patch instead of trying to describe |
15 |
> it in words. :) |
16 |
> |
17 |
|
18 |
Just emerged portage 2.2.01.19120 and this fix doesn't seem to have |
19 |
appeared yet.... |
20 |
|
21 |
Traceback (most recent call last): |
22 |
File "/usr/bin/emerge", line 44, in <module> |
23 |
retval = emerge_main() |
24 |
File "/j/usr/lib/portage/pym/_emerge/main.py", line 1909, in emerge_main |
25 |
trees, mtimedb, retval) |
26 |
File "/j/usr/lib/portage/pym/_emerge/main.py", line 370, in post_emerge |
27 |
infodirs, info_mtimes, retval) |
28 |
File "/j/usr/lib/portage/pym/_emerge/main.py", line 164, in |
29 |
chk_updated_info_files |
30 |
"--dir-file=%s/dir %s/%s" % (_unicode_decode(EPREFIX), inforoot, |
31 |
inforoot, x))[1] |
32 |
TypeError: not all arguments converted during string formatting |
33 |
|
34 |
Alan. |