wok-next annotate python-pyxml/stuff/fix-python2.6.patch @ rev 12027

xournal: don't modify desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Tue Mar 06 11:42:45 2012 -0800 (2012-03-06)
parents
children
rev   line source
slaxemulator@9674 1 diff -ur a/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
slaxemulator@9674 2 --- a/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2003-03-11 15:01:34.000000000 +0100
slaxemulator@9674 3 +++ b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2009-05-25 16:32:26.000000000 +0200
slaxemulator@9674 4 @@ -24,8 +24,8 @@
slaxemulator@9674 5 self._rel = rel
slaxemulator@9674 6 nt = ParsedNodeTest.ParsedNodeTest('node', '')
slaxemulator@9674 7 ppl = ParsedPredicateList.ParsedPredicateList([])
slaxemulator@9674 8 - as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
slaxemulator@9674 9 - self._step = ParsedStep.ParsedStep(as, nt, ppl)
slaxemulator@9674 10 + asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
slaxemulator@9674 11 + self._step = ParsedStep.ParsedStep(asp, nt, ppl)
slaxemulator@9674 12 return
slaxemulator@9674 13
slaxemulator@9674 14 def evaluate(self, context):
slaxemulator@9674 15 diff -ur a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
slaxemulator@9674 16 --- a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2003-03-11 15:01:34.000000000 +0100
slaxemulator@9674 17 +++ b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2009-05-25 16:27:55.000000000 +0200
slaxemulator@9674 18 @@ -28,8 +28,8 @@
slaxemulator@9674 19 self._right = right
slaxemulator@9674 20 nt = ParsedNodeTest.ParsedNodeTest('node','')
slaxemulator@9674 21 ppl = ParsedPredicateList.ParsedPredicateList([])
slaxemulator@9674 22 - as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
slaxemulator@9674 23 - self._middle = ParsedStep.ParsedStep(as, nt, ppl)
slaxemulator@9674 24 + asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
slaxemulator@9674 25 + self._middle = ParsedStep.ParsedStep(asp, nt, ppl)
slaxemulator@9674 26
slaxemulator@9674 27 def evaluate(self, context):
slaxemulator@9674 28 res = []