Re: [xslt] [xml] [PATCH][TRIVIAL] Python whitespace warnings



Daniel Veillard wrote:
On Sat, May 10, 2008 at 01:36:14AM +0100, Martin (gzlist) wrote:
Some of the python distributed in the source archives of libxml2 and
libxslt has mixed tabs and spaces that one of my editors flags each
time the files are opened. It's not crucial, and they're a way off PEP
8 whatever, but it's an easy change.

Attached patches are basically just sed "s/\t/        /g" | sed
"s/;$//g" and checked with tabnanny and md5.new(compile(codestring,
filename, 'exec').co_code).hexdigest() and before and after to ensure
the bytecode is unchanged. Probably just as easy to run the same
process over the SVN repo as apply the patches, there might be some
similar issues in the test scripts and such that I didn't look at.

Okay, I finally commited the libxml2 side of the patch,
    thanks !

Daniel


Did sed "s/\t/ /g" work on GNU sed 4.0.x versions before 4.0.9 and 4.1.x before 4.1.5 ?

Roumen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]