Re: [xml] [PATCH][TRIVIAL] Python whitespace warnings
- From: Daniel Veillard <veillard redhat com>
- To: "Martin (gzlist)" <gzlist googlemail com>
- Cc: xslt gnome org, xml gnome org
- Subject: Re: [xml] [PATCH][TRIVIAL] Python whitespace warnings
- Date: Tue, 3 Jun 2008 12:09:47 -0400
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
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]