summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/wsgi/xmlutil.py
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 08:10:25 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 08:10:25 +0000
commit2853156a2bce535bcaa440c37cf872916f76c03b (patch)
tree8e161033a9bac8274dcaca05940964b91cdb2bfc /sca-cpp/trunk/modules/wsgi/xmlutil.py
parent55607ea78e10832838d52fdb17cbdfe4355c3265 (diff)
Refactoring, rename isNil to isNull.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428206 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/wsgi/xmlutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/xmlutil.py b/sca-cpp/trunk/modules/wsgi/xmlutil.py
index 83b1cf2f92..bc1a1b376a 100644
--- a/sca-cpp/trunk/modules/wsgi/xmlutil.py
+++ b/sca-cpp/trunk/modules/wsgi/xmlutil.py
@@ -46,7 +46,7 @@ def readElements(l):
# Return true if a list of strings represents an XML document
def isXML(l):
- if isNil(l):
+ if isNull(l):
return False
if car(l)[0:5] != "<?xml":
return False
@@ -86,12 +86,12 @@ def readXML(l):
# Write a list of XML element and attribute tokens
def expandElementValues(n, l):
- if isNil(l):
+ if isNull(l):
return l
return cons(cons(element, cons(n, car(l))), expandElementValues(n, cdr(l)))
def writeList(l, xml):
- if isNil(l):
+ if isNull(l):
return xml
token = car(l)
if isTaggedList(token, attribute):