From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 09:46:57 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29F6A616 for ; Sun, 15 Feb 2015 09:46:57 +0000 (UTC) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F12E21FA for ; Sun, 15 Feb 2015 09:46:56 +0000 (UTC) Received: by pdjz10 with SMTP id z10so28803722pdj.0 for ; Sun, 15 Feb 2015 01:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=LT5zPfWZ5i/qeZspai63hhy7uOV5vfXUAklEtK2Sy6Q=; b=Y4ff496ILTlHrp7XLcHULLywnboOEVcne5oQycmMAkoPU9Yvv5XHZyotTQRCXnSy4L bOZNhZVhRfWmldWquabLImDxa02EPvTF9petMk5Y/9wc1AHL/0pLP0t+i0vuOT+Gg0zR R15tkDV/Yb1OjtwLDx7XoKoyqIM0+v3/WJ/GcPjOMnN6WGxVoz0w5YJdXAjwXI4yF5Ff Xafh0tLhmMupeVd2421AXjT/Rd8uY7KVZYs0KTozv1qgb+FIi6dU01wU3I2+CHVjThNo JTgvE4Sbv2d70473mBdkc5uu4OynlH23OObhlYvsF7Wq1OpOk755wcMNXg0Fd3pPP0Ap fNeQ== X-Received: by 10.70.18.196 with SMTP id y4mr29882861pdd.27.1423993610541; Sun, 15 Feb 2015 01:46:50 -0800 (PST) Received: from [192.168.1.107] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id rg6sm11426469pbc.43.2015.02.15.01.46.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Feb 2015 01:46:49 -0800 (PST) Sender: Kubilay Kocak Message-ID: <54E06B05.70507@FreeBSD.org> Date: Sun, 15 Feb 2015 20:46:45 +1100 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Thunderbird/34.0 MIME-Version: 1.0 To: Joerg Ruppe-Tanner , ports@FreeBSD.org Subject: Re: Port textproc/py-xml References: <54DF5300.9010304@gmail.com> In-Reply-To: <54DF5300.9010304@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 09:46:57 -0000 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? -- Regards, Koobs