diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-07-27 22:27:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-07-27 22:27:43 +0000 |
commit | 9477d933b7dcd4aee46dc2641324d8bca7331b60 (patch) | |
tree | 48c6702774579e714439df839049274ef12b7a6f /textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py | |
parent | - Update to 2.2.3 (diff) |
- Fix crash with py26
PR: 136596
Submitted by: Wen Heping <wenheping@gmail.com>
Approved by: maintainer timeout
Diffstat (limited to 'textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py')
-rw-r--r-- | textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedRelativeLocationPath.py | 13 |
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 = [] |