SOURCES: python-PyXML-as_is_keyword_in_py26.patch (NEW) Release 8. Fix as b...

matkor matkor at pld-linux.org
Sat Dec 6 14:41:32 CET 2008


Author: matkor                       Date: Sat Dec  6 13:41:32 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
Release 8. Fix as being new keyword in Python2.6 build problem.

---- Files affected:
SOURCES:
   python-PyXML-as_is_keyword_in_py26.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-PyXML-as_is_keyword_in_py26.patch
diff -u /dev/null SOURCES/python-PyXML-as_is_keyword_in_py26.patch:1.1
--- /dev/null	Sat Dec  6 14:41:33 2008
+++ SOURCES/python-PyXML-as_is_keyword_in_py26.patch	Sat Dec  6 14:41:27 2008
@@ -0,0 +1,26 @@
+--- PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.syntax_errors	2008-12-06 13:46:13.000000000 +0100
++++ PyXML-0.8.4/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py	2008-12-06 14:02:16.000000000 +0100
+@@ -28,8 +28,8 @@ class ParsedAbbreviatedRelativeLocationP
+         self._right = right
+         nt = ParsedNodeTest.ParsedNodeTest('node','')
+         ppl = ParsedPredicateList.ParsedPredicateList([])
+-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+-        self._middle = ParsedStep.ParsedStep(as, nt, ppl)
++        pas = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++        self._middle = ParsedStep.ParsedStep(pas, nt, ppl)
+ 
+     def evaluate(self, context):
+         res = []
+--- PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.syntax_errors	2008-12-06 14:33:16.000000000 +0100
++++ PyXML-0.8.4/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py	2008-12-06 14:33:28.000000000 +0100
+@@ -24,8 +24,8 @@ class ParsedAbbreviatedAbsoluteLocationP
+         self._rel = rel
+         nt = ParsedNodeTest.ParsedNodeTest('node', '')
+         ppl = ParsedPredicateList.ParsedPredicateList([])
+-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+-        self._step = ParsedStep.ParsedStep(as, nt, ppl)
++        sas = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++        self._step = ParsedStep.ParsedStep(sas, nt, ppl)
+         return
+ 
+     def evaluate(self, context):
================================================================


More information about the pld-cvs-commit mailing list