From 9477d933b7dcd4aee46dc2641324d8bca7331b60 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 27 Jul 2009 22:27:43 +0000 Subject: - Fix crash with py26 PR: 136596 Submitted by: Wen Heping Approved by: maintainer timeout --- ...patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py (limited to 'textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py') 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 = [] -- cgit v1.2.3