Checkout
Greg Stein
committed
on 27 Oct 11
Fix SQL transformation on Windows (and NetWare) builds. The \r\n pattern
messed up the output files.

Reported by: NormW <normw{_AT_}gknw.ne… Show more
Fix SQL transformation on Windows (and NetWare) builds. The \r\n pattern

messed up the output files.

Reported by: NormW <normw{_AT_}gknw.net>

* build/transform_sql.py:

 (Processor.process_file): strip trailing whitespace from the line before

   placing it into the output. this will clear off a \r character, and

   any potential trailing spaces. (continue to add a space in the format

   string so that string-joining does not create something like:

   "... FROM tableWHERE ...") we keep leading whitespace for nice

   indentation of the queries.

Show less