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-ParsedAbbreviatedAbsoluteLocationPath.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-ParsedAbbreviatedAbsoluteLocationPath.py')
-rw-r--r-- | textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedAbsoluteLocationPath.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedAbsoluteLocationPath.py b/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedAbsoluteLocationPath.py new file mode 100644 index 000000000000..1aa89d886448 --- /dev/null +++ b/textproc/py-xml/files/patch-xml-xpath-ParsedAbbreviatedAbsoluteLocationPath.py @@ -0,0 +1,13 @@ +--- xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.orig 2009-07-09 08:48:55.000000000 +0800 ++++ xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2009-07-09 08:49:09.000000000 +0800 +@@ -24,8 +24,8 @@ + self._rel = rel + nt = ParsedNodeTest.ParsedNodeTest('node', '') + ppl = ParsedPredicateList.ParsedPredicateList([]) +- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') +- self._step = ParsedStep.ParsedStep(as, nt, ppl) ++ as26 = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') ++ self._step = ParsedStep.ParsedStep(as26, nt, ppl) + return + + def evaluate(self, context): |