summaryrefslogtreecommitdiff
path: root/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py')
-rw-r--r--textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py b/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py
new file mode 100644
index 000000000000..c440b2455c24
--- /dev/null
+++ b/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py
@@ -0,0 +1,13 @@
+--- xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.orig 2009-07-09 08:43:39.000000000 +0800
++++ xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2009-07-09 08:43:56.000000000 +0800
+@@ -28,8 +28,8 @@
+ self._right = right
+ nt = ParsedNodeTest.ParsedNodeTest('node','')
+ ppl = ParsedPredicateList.ParsedPredicateList([])
+- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+- self._middle = ParsedStep.ParsedStep(as, nt, ppl)
++ as26 = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++ self._middle = ParsedStep.ParsedStep(as26, nt, ppl)
+
+ def evaluate(self, context):
+ res = []