Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2015 15:54:00 +0900
From:      SASAKI Katuhiro <crest@sahiro.org>
To:        koobs@FreeBSD.org
Cc:        ports@FreeBSD.org, joerg.ruppe.tanner@gmail.com
Subject:   Re: Port textproc/py-xml
Message-ID:  <20150216155400.66c62754e87a2d5d6ab286c3@sahiro.org>
In-Reply-To: <20150216154042.8a326c06915c1a9fd384d1a4@sahiro.org>
References:  <54DF5300.9010304@gmail.com> <54E06B05.70507@FreeBSD.org> <20150216154042.8a326c06915c1a9fd384d1a4@sahiro.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"as" is keyword on Python. So we can't use "as" as identifier. 

On Mon, 16 Feb 2015 15:40:42 +0900
SASAKI Katuhiro <crest@sahiro.org> wrote:

> Hi.
> 
> On Sun, 15 Feb 2015 20:46:45 +1100
> Kubilay Kocak <koobs@FreeBSD.org> wrote:
> 
> > On 15/02/2015 12:52 AM, Joerg Ruppe-Tanner wrote:
> > > Hi Maintainer
> > > 
> > > Here an Patch for textproc/py-xml
> > > 
> > > 
> > > --- xml/xslt/Stylesheet.py.orig 2015-02-14 14:39:02.860452706 +0100
> > > +++ xml/xslt/Stylesheet.py      2015-02-14 14:28:48.331501981 +0100
> > > @@ -373,8 +373,8 @@
> > >  
> > >          #Attribute sets
> > >          attribute_sets = filter(lambda x: x.nodeType ==
> > > Node.ELEMENT_NODE and (x.namespaceURI, x.localName) == (XSL_NAMESPACE,
> > > 'attribute-set'), self.childNodes)
> > > -        for as in attribute_sets:
> > > -            as.instantiate(context, processor)
> > > +        for las in attribute_sets:
> > > +            las.instantiate(context, processor)
> > >          overridden_params = {}
> > >          for k in topLevelParams.keys():
> > >              if type(k) != types.TupleType:
> > > 
> > > 
> > > For me it was useful
> > > 
> > > 
> > > Kind Rregards
> > > 
> > > Jörg
> > > 
> > > 
> > 
> > Hi Jörg,
> > 
> > May I ask what the patch addresses?
> > Does it fix a bug? If so, what are/were the symptoms?
> > Did you find this patch online? If so, what URL?
> > 
> 


-- 
                     SASAKI Katuhiro

                 mailto: crest@sahiro.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150216155400.66c62754e87a2d5d6ab286c3>