Re: [xslt] [PATCH][TRIVIAL] Python whitespace warnings
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] [PATCH][TRIVIAL] Python whitespace warnings
- Date: Wed, 14 May 2008 02:39:32 -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.
Patch for libxslt applied and embedded in 1.1.24, but please avoid
cross-posting between the two lists,
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]