On Wed, Oct 26, 2011 at 20:45, NormW <no...@gknw.net> wrote: > On 27/10/2011 9:48 AM, Greg Stein wrote: >> >> On Wed, Oct 26, 2011 at 19:34, NormW<no...@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 2.7.2; water gets murky. > The transform_sql.py now reads as: >> >> self.output.write(' "%s " \\\n' % line.strip)
Oops. You dropped a couple parens: ... line.strip()) Cheers, -g