sbin/virtualenv/res/patch/pyxml.patch
author wakimd
Fri, 22 Oct 2010 18:14:30 +0200
changeset 1 eb9188f2ee4f
permissions -rw-r--r--
first commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     1
diff -ur xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     2
--- xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py	2003-03-11 15:01:34.000000000 +0100
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     3
+++ xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py	2009-05-25 16:32:26.000000000 +0200
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     4
@@ -24,8 +24,8 @@
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     5
         self._rel = rel
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     6
         nt = ParsedNodeTest.ParsedNodeTest('node', '')
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     7
         ppl = ParsedPredicateList.ParsedPredicateList([])
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     8
-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
     9
-        self._step = ParsedStep.ParsedStep(as, nt, ppl)
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    10
+        asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    11
+        self._step = ParsedStep.ParsedStep(asp, nt, ppl)
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    12
         return
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    13
 
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    14
     def evaluate(self, context):
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    15
diff -ur a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    16
--- xml/xpath/ParsedAbbreviatedRelativeLocationPath.py	2003-03-11 15:01:34.000000000 +0100
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    17
+++ xml/xpath/ParsedAbbreviatedRelativeLocationPath.py	2009-05-25 16:27:55.000000000 +0200
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    18
@@ -28,8 +28,8 @@
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    19
         self._right = right
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    20
         nt = ParsedNodeTest.ParsedNodeTest('node','')
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    21
         ppl = ParsedPredicateList.ParsedPredicateList([])
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    22
-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    23
-        self._middle = ParsedStep.ParsedStep(as, nt, ppl)
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    24
+        asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    25
+        self._middle = ParsedStep.ParsedStep(asp, nt, ppl)
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    26
 
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    27
     def evaluate(self, context):
eb9188f2ee4f first commit
wakimd
parents:
diff changeset
    28
         res = []