openbsd-ports/textproc/py-xml/patches/patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath_py

15 lines
793 B
Plaintext

$OpenBSD: patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath_py,v 1.1 2008/12/16 04:55:09 fgsch Exp $
--- xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.orig Tue Dec 16 04:50:28 2008
+++ xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py Tue Dec 16 04:50:44 2008
@@ -24,8 +24,8 @@ class ParsedAbbreviatedAbsoluteLocationPath:
self._rel = rel
nt = ParsedNodeTest.ParsedNodeTest('node', '')
ppl = ParsedPredicateList.ParsedPredicateList([])
- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
- self._step = ParsedStep.ParsedStep(as, nt, ppl)
+ pas = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+ self._step = ParsedStep.ParsedStep(pas, nt, ppl)
return
def evaluate(self, context):