From owner-freebsd-ports@FreeBSD.ORG Sat Feb 14 13:52:07 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 5649C458 for ; Sat, 14 Feb 2015 13:52:07 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (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 E7C1925C for ; Sat, 14 Feb 2015 13:52:06 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hi2so17746604wib.0 for ; Sat, 14 Feb 2015 05:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:subject:content-type; bh=0dI0MSwTZUqeHmyhkYDtbg6HvrwgAhT7aigiQGseB08=; b=kPU/EJILbPz7Vev2CgWe8FxvcGt+IFkoWSdP6JSzH4BpGYKMtzox+9M9plMwehy8qi qvSX5gFwFpAJmwWUMIeqE1pHOi++iqmf14/90MRg3oJ/NepKGHQiF4qBmRbHygckxAHp Ex+j1dUdAyT78LnH4lVZIP0xGPODyQ84KpwvrnvHtb3tmzdr5K5YgAOpZQzdkEeMfAjG uqHKVs6weEJdkC7EasWxIpAvKqhWn07eSGiLAEEk/i/zuiKzMH6hqxynsnqg9521ux6b FLYTyzbaCriAQezujiCU1CXy8XK8sk1JB/MSXx00iv1ZmmyuDvrk1jCFcakRIpgGWjUe FHrg== X-Received: by 10.194.48.74 with SMTP id j10mr30379084wjn.38.1423921925136; Sat, 14 Feb 2015 05:52:05 -0800 (PST) Received: from jupiter.jrtnet.ch (jupiter.jrtnet.ch. [2001:470:b4ca:ffff::1111]) by mx.google.com with ESMTPSA id dx11sm11423517wjb.23.2015.02.14.05.52.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Feb 2015 05:52:04 -0800 (PST) Message-ID: <54DF5300.9010304@gmail.com> Date: Sat, 14 Feb 2015 14:52:00 +0100 From: Joerg Ruppe-Tanner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: ports@FreeBSD.org Subject: Port textproc/py-xml Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 14 Feb 2015 13:52:07 -0000 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 -- Joerg Ruppe-Tanner Schuetzenweg 19 3294 Bueren an der Aare email: joerg.ruppe.tanner@gmail.com http://www.jrtnet.ch Tel.: (+41) 32 351 5840 Mob.: (+41) 79 593 9569