summaryrefslogtreecommitdiff
path: root/libraries/PyXML/PyXML-0.8.4-python2.6.patch
diff options
context:
space:
mode:
authorAlex Lysenka <me@alkos333.net>2010-05-13 00:28:38 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:28:38 +0200
commit3b9343c496ae8389680d5edfb2b74ada3f6878ba (patch)
treead3a33719f78afb6eeb0d2cdad11493b14b4d863 /libraries/PyXML/PyXML-0.8.4-python2.6.patch
parent38c2097435c00d08b6627ab20e8f73584ccb1aa8 (diff)
downloadslackbuilds-3b9343c496ae8389680d5edfb2b74ada3f6878ba.tar.gz
libraries/PyXML: Updated for version 0.8.4
Diffstat (limited to 'libraries/PyXML/PyXML-0.8.4-python2.6.patch')
-rw-r--r--libraries/PyXML/PyXML-0.8.4-python2.6.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/libraries/PyXML/PyXML-0.8.4-python2.6.patch b/libraries/PyXML/PyXML-0.8.4-python2.6.patch
new file mode 100644
index 0000000000..7a54ac5b96
--- /dev/null
+++ b/libraries/PyXML/PyXML-0.8.4-python2.6.patch
@@ -0,0 +1,42 @@
+diff -up PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.patch PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
+--- PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.patch 2008-12-24 06:35:27.000000000 +0100
++++ PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2008-12-24 06:35:39.000000000 +0100
+@@ -24,8 +24,8 @@ class ParsedAbbreviatedAbsoluteLocationP
+ self._rel = rel
+ nt = ParsedNodeTest.ParsedNodeTest('node', '')
+ ppl = ParsedPredicateList.ParsedPredicateList([])
+- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+- self._step = ParsedStep.ParsedStep(as, nt, ppl)
++ as_ = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++ self._step = ParsedStep.ParsedStep(as_, nt, ppl)
+ return
+
+ def evaluate(self, context):
+diff -up PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.patch PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
+--- PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.patch 2008-12-24 06:37:27.000000000 +0100
++++ PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2008-12-24 06:37:48.000000000 +0100
+@@ -28,8 +28,8 @@ class ParsedAbbreviatedRelativeLocationP
+ self._right = right
+ nt = ParsedNodeTest.ParsedNodeTest('node','')
+ ppl = ParsedPredicateList.ParsedPredicateList([])
+- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+- self._middle = ParsedStep.ParsedStep(as, nt, ppl)
++ as_ = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++ self._middle = ParsedStep.ParsedStep(as_, nt, ppl)
+
+ def evaluate(self, context):
+ res = []
+diff -ru PyXML-0.8.4.orig/xml/xslt/Stylesheet.py PyXML-0.8.4/xml/xslt/Stylesheet.py
+--- PyXML-0.8.4/xml/xslt/Stylesheet.py.patch 2009-03-03 08:20:01.000000000 +0000
++++ PyXML-0.8.4/xml/xslt/Stylesheet.py 2009-03-03 08:21:18.000000000 +0000
+@@ -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 as_ in attribute_sets:
++ as_.instantiate(context, processor)
+ overridden_params = {}
+ for k in topLevelParams.keys():
+ if type(k) != types.TupleType: