openbsd-ports/textproc/py-xml/patches/patch-xml_xslt_Stylesheet_py

15 lines
719 B
Plaintext

$OpenBSD: patch-xml_xslt_Stylesheet_py,v 1.1 2008/12/16 04:55:09 fgsch Exp $
--- xml/xslt/Stylesheet.py.orig Tue Dec 16 04:52:31 2008
+++ xml/xslt/Stylesheet.py Tue Dec 16 04:53:15 2008
@@ -373,8 +373,8 @@ class StylesheetElement(XsltElement):
#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 a_s in attribute_sets:
+ a_s.instantiate(context, processor)
overridden_params = {}
for k in topLevelParams.keys():
if type(k) != types.TupleType: