[xslt] [PATCH][TRIVIAL] Python whitespace warnings



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.

Martin

Attachment: libxml2_python_syntax_cleanup.patch
Description: Binary data

Attachment: libxslt_python_syntax_cleanup.patch
Description: Binary data



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