wok-6.x view python-pyxml/stuff/fix-python2.6.patch @ rev 21297
updated libshout and libshout-dev (2.2.1 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 17 16:47:19 2019 +0100 (2019-04-17) |
parents | |
children |
line source
1 diff -ur a/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
2 --- a/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2003-03-11 15:01:34.000000000 +0100
3 +++ b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2009-05-25 16:32:26.000000000 +0200
4 @@ -24,8 +24,8 @@
5 self._rel = rel
6 nt = ParsedNodeTest.ParsedNodeTest('node', '')
7 ppl = ParsedPredicateList.ParsedPredicateList([])
8 - as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
9 - self._step = ParsedStep.ParsedStep(as, nt, ppl)
10 + asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
11 + self._step = ParsedStep.ParsedStep(asp, nt, ppl)
12 return
14 def evaluate(self, context):
15 diff -ur a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
16 --- a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2003-03-11 15:01:34.000000000 +0100
17 +++ b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2009-05-25 16:27:55.000000000 +0200
18 @@ -28,8 +28,8 @@
19 self._right = right
20 nt = ParsedNodeTest.ParsedNodeTest('node','')
21 ppl = ParsedPredicateList.ParsedPredicateList([])
22 - as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
23 - self._middle = ParsedStep.ParsedStep(as, nt, ppl)
24 + asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
25 + self._middle = ParsedStep.ParsedStep(asp, nt, ppl)
27 def evaluate(self, context):
28 res = []