On Wed, Oct 26, 2011 at 21:16, NormW <normw_at_gknw.net> wrote:
> My Bad...
> On 27/10/2011 9:48 AM, Greg Stein wrote:
>>
>> On Wed, Oct 26, 2011 at 19:34, NormW<normw_at_gknw.net> wrote:
>>>
>>> ...
>>>>
>>>> Can you try changing line 132 to include a .strip() in there? It
>>>> should look like:
>>>> self.output.write(' "%s " \\\n' % line.strip())
>>>
>>> Most certainly of little help with Python testing. Can't run the regular
>>> build system on WinXP so I use the headers supplied in the kit. Installed
>>> python (3.2.2) for the first time 5 mins ago and if I try:
>>
>> Would you mind trying the change with Python 2.7 instead? The script
>> is not compatible with Python 3.x as you've just found :-)
>
> K _NOW_ have correct change as you requested and resulting output file is
> still ok under WinXP; (I imagine XP Python is aware of line issues of
> Windows). A better test would be to see if the platform used to create
> wc-queries.h for the source tree creates an acceptable format with your
> suggested change.
Ah! Very good point.
I'll track down how we generate that for the distributions and see what gives.
Thanks for working with me on this.
Cheers,
-g
Received on 2011-10-27 03:26:58 CEST