On Fri, Oct 15, 2010 at 7:27 PM, Albert Hopkins <mar...@letterboxes.org> wrote:
> On Fri, 2010-10-15 at 07:35 -0700, Mark Knecht wrote:
>>   File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in
>> action_sync
>>     "//" + user_name + ip + port + "/", 1))
>> TypeError: cannot concatenate 'str' and 'int' objects
>
> This is a bug... shuld be more something like:
>
>                uris.append(syncuri.replace(
>                    "//%s%s%s/" % (user_name, hostname, port),
>                    "//%s%s%s/" % (user_name, ip, port), 1))
>
> Probably needs to be reported.
>
>
>
>

Coding against PEP8 is not a bug. I guess devs find string
concatenation more handy and maintainable.

The bug was about the addrinfos data gotten from the server. I thought
the response of possibly down rsync server was not handled well, which
is why I offered to change rsync server, but the actual problem was
caused by assuming that IPv6 is supported on the machine.

--
    Fatih

Reply via email to